Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2015, 8:49:32 PM (9 years ago)
Author:
landauf
Message:

fixed some TODOs in tests and code by using the new unload() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/test/core/class/IdentifierSimpleClassHierarchyTest.cc

    r10403 r10405  
    5252                {
    5353                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances();
    54                     ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?
    5554                    Identifier::initConfigValues_s = false; // TODO: hack!
    5655                    IdentifierManager::getInstance().createClassHierarchy();
     
    6059                {
    6160                    IdentifierManager::getInstance().destroyClassHierarchy();
     61                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances();
    6262                }
    6363        };
Note: See TracChangeset for help on using the changeset viewer.