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/SuperTest.cc

    r10403 r10405  
    7373                {
    7474                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances();
    75                     ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?
    7675                    Identifier::initConfigValues_s = false; // TODO: hack!
    7776                    IdentifierManager::getInstance().createClassHierarchy();
     
    8584
    8685                    IdentifierManager::getInstance().destroyClassHierarchy();
     86                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances();
    8787                }
    8888        };
Note: See TracChangeset for help on using the changeset viewer.