Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

load modules AFTER core was initialized. load each module with a separate ModuleInstance. unloading is not yet implemented…

File:
1 edited

Legend:

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

    r10483 r10518  
    100100            {
    101101                Identifier* identifier = (*it);
     102                if (identifier->isInitialized())
     103                    continue;
    102104
    103105                orxout(verbose, context::identifier) << "Initialize ClassIdentifier<" << identifier->getName() << ">-Singleton." << endl;
     
    135137            if (initializedIdentifiers.find(identifier) != initializedIdentifiers.end())
    136138                identifier->finishInitialization();
    137             else
     139            else if (!identifier->isInitialized())
    138140                orxout(internal_error) << "Identifier was registered late and is not initialized: " << identifier->getName() << " / " << identifier->getTypeInfo().name() << endl;
    139141        }
Note: See TracChangeset for help on using the changeset viewer.