Changeset 930 for code/branches/network/src/orxonox/Orxonox.cc
- Timestamp:
- Mar 27, 2008, 12:45:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/Orxonox.cc
r929 r930 46 46 //#include <exception> 47 47 #include <deque> 48 #define _CRTDBG_MAP_ALLOC 49 #include <stdlib.h> 50 #include <crtdbg.h> 48 51 49 52 //***** ORXONOX **** … … 97 100 { 98 101 // keep in mind: the order of deletion is very important! 99 100 102 if (this->bulletMgr_) 101 103 delete this->bulletMgr_; … … 103 105 delete this->orxonoxHUD_; 104 106 Loader::close(); 105 this->inputHandler_->destroy(); 107 // do not destroy the InputHandler since this is a singleton too 108 // and might have been deleted already (after return 0; in main()) 106 109 if (this->auMan_) 107 110 delete this->auMan_;
Note: See TracChangeset
for help on using the changeset viewer.