Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2009, 8:16:13 AM (14 years ago)
Author:
rgrieder
Message:

Fixed program termination segfault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/libraries/core/ScopedSingletonManager.h

    r5929 r6034  
    5252            virtual ~ScopedSingletonManager() { }
    5353            static void addManager(ScopedSingletonManager* manager);
    54             static void removeManager(ScopedSingletonManager* manager);
    5554
    5655            template<ScopeID::Value scope>
     
    8685        ~ClassScopedSingletonManager()
    8786        {
    88             //assert(singletonPtr_ == NULL); // Might get triggered in the SignalHandler
    89             ScopedSingletonManager::removeManager(this);
    9087        }
    9188
     
    140137        ~ClassScopedSingletonManager()
    141138        {
    142             assert(singletonPtr_ == NULL);
    143             ScopedSingletonManager::removeManager(this);
    144139        }
    145140
Note: See TracChangeset for help on using the changeset viewer.