Changeset 6169 for code/branches/presentation2/src/libraries/core
- Timestamp:
- Nov 26, 2009, 11:27:37 PM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/Core.cc
r6121 r6169 146 146 // possibility to configure everything below here 147 147 ClassIdentifier<Core>::getIdentifier("Core")->initialiseObject(this, "Core", true); 148 // Remove us from the object lists again to avoid problems when destroying the Core149 this->unregisterObject();150 148 this->setConfigValues(); 151 149 … … 173 171 Core::~Core() 174 172 { 173 // Remove us from the object lists again to avoid problems when destroying them 174 this->unregisterObject(); 175 175 } 176 176 -
code/branches/presentation2/src/libraries/core/Game.cc
r6161 r6169 112 112 // Do this after the Core creation! 113 113 ClassIdentifier<Game>::getIdentifier("Game")->initialiseObject(this, "Game", true); 114 // Remove us from the object lists again to avoid problems when destroying the Game115 this->unregisterObject();116 114 this->setConfigValues(); 117 115 … … 137 135 Game::~Game() 138 136 { 137 // Remove us from the object lists again to avoid problems when destroying them 138 this->unregisterObject(); 139 139 } 140 140
Note: See TracChangeset
for help on using the changeset viewer.