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/orxonox/PlayerManager.cc

    r5867 r5877  
    3939{
    4040    PlayerManager* PlayerManager::singletonPtr_s = 0;
    41     ManageScopedSingleton(PlayerManager, ScopeID::Root);
     41    ManageScopedSingleton(PlayerManager, ScopeID::Root, false);
    4242
    4343    PlayerManager::PlayerManager()
Note: See TracChangeset for help on using the changeset viewer.