Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2015, 10:22:59 AM (9 years ago)
Author:
landauf
Message:

don't store scope in ScopeListener - instead register the listener in ScopeManager for a specific scope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/singleton/ScopedSingletonIncludes.cc

    r10462 r10514  
    3333    void StaticallyInitializedScopedSingletonWrapper::load()
    3434    {
    35         ScopeManager::getInstance().addListener(this->wrapper_);
     35        ScopeManager::getInstance().addListener(this->wrapper_, this->scope_);
    3636    }
    3737
    3838    void StaticallyInitializedScopedSingletonWrapper::unload()
    3939    {
    40         ScopeManager::getInstance().removeListener(this->wrapper_);
     40        ScopeManager::getInstance().removeListener(this->wrapper_, this->scope_);
    4141    }
    4242}
Note: See TracChangeset for help on using the changeset viewer.