Changeset 969 for code/branches/input/src/orxonox/GraphicsEngine.cc
- Timestamp:
- Mar 31, 2008, 10:43:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/GraphicsEngine.cc
r940 r969 63 63 GraphicsEngine::~GraphicsEngine() 64 64 { 65 if ( !this->root_)65 if (this->root_) 66 66 delete this->root_; 67 // delete the ogre log and the logManager (sine we have created it). 68 if (LogManager::getSingletonPtr() != 0) 69 { 70 LogManager::getSingleton().getDefaultLog()->removeListener(this); 71 LogManager::getSingleton().destroyLog(LogManager::getSingleton().getDefaultLog()); 72 delete LogManager::getSingletonPtr(); 73 } 67 74 } 68 75
Note: See TracChangeset
for help on using the changeset viewer.