Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2015, 12:10:24 PM (9 years ago)
Author:
landauf
Message:

destroy objects before deleting identifiers (when unloading a module)

File:
1 edited

Legend:

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

    r9667 r10539  
    9797        return this->objectLists_[classID];
    9898    }
     99
     100    void Context::destroyObjectList(const Identifier* identifier)
     101    {
     102        ObjectListBase* objectList = this->getObjectList(identifier);
     103        delete objectList;
     104        this->objectLists_[identifier->getClassID()] = NULL;
     105    }
    99106}
Note: See TracChangeset for help on using the changeset viewer.