Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 6, 2015, 2:45:20 PM (9 years ago)
Author:
landauf
Message:

statically initialized instances may contain a type. currently not used.

File:
1 edited

Legend:

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

    r10527 r10530  
    130130        // TODO: initialize NetworkFunctionManager here
    131131        this->rootModule_ = ModuleInstance::getCurrentModuleInstance();
    132         this->rootModule_->loadAllStaticallyInitializedInstances();
     132        this->rootModule_->loadAllStaticallyInitializedInstances(0);
    133133
    134134        // Parse command line arguments AFTER the modules have been loaded (static code!)
     
    246246        if (this->rootModule_)
    247247        {
    248             this->rootModule_->unloadAllStaticallyInitializedInstances();
     248            this->rootModule_->unloadAllStaticallyInitializedInstances(0);
    249249            this->rootModule_->deleteAllStaticallyInitializedInstances();
    250250        }
     
    287287        DynLib* dynLib = this->dynLibManager_->load(module->getName());
    288288        module->setDynLib(dynLib);
    289         module->loadAllStaticallyInitializedInstances();
     289        module->loadAllStaticallyInitializedInstances(0);
    290290        IdentifierManager::getInstance().createClassHierarchy();
    291291        ScopeManager::getInstance().updateListeners();
     
    307307        orxout(internal_info) << "Unloading module " << module->getName() << "..." << endl;
    308308
    309         module->unloadAllStaticallyInitializedInstances();
     309        module->unloadAllStaticallyInitializedInstances(0);
    310310        module->deleteAllStaticallyInitializedInstances();
    311311        this->dynLibManager_->unload(module->getDynLib());
Note: See TracChangeset for help on using the changeset viewer.