- Timestamp:
- Nov 5, 2009, 8:16:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/libraries/core/ScopedSingletonManager.h
r5929 r6034 52 52 virtual ~ScopedSingletonManager() { } 53 53 static void addManager(ScopedSingletonManager* manager); 54 static void removeManager(ScopedSingletonManager* manager);55 54 56 55 template<ScopeID::Value scope> … … 86 85 ~ClassScopedSingletonManager() 87 86 { 88 //assert(singletonPtr_ == NULL); // Might get triggered in the SignalHandler89 ScopedSingletonManager::removeManager(this);90 87 } 91 88 … … 140 137 ~ClassScopedSingletonManager() 141 138 { 142 assert(singletonPtr_ == NULL);143 ScopedSingletonManager::removeManager(this);144 139 } 145 140
Note: See TracChangeset
for help on using the changeset viewer.