Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 5, 2009, 1:34:10 AM (15 years ago)
Author:
rgrieder
Message:

Added new an option for the ScopedSingletonManager that can allow the Singleton to fail (throw an exception).
Also improved exception-safety in Scope so that when for a Singleton fails, the Scope will deactivate all activated listeners and properly destroy itself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/modules/questsystem/QuestManager.cc

    r5867 r5877  
    5757    //! Pointer to the current (and single) instance of this class.
    5858    /*static*/ QuestManager* QuestManager::singletonPtr_s = NULL;
    59     ManageScopedSingleton(QuestManager, ScopeID::Root);
     59    ManageScopedSingleton(QuestManager, ScopeID::Root, false);
    6060
    6161    /**
Note: See TracChangeset for help on using the changeset viewer.