Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2016, 2:03:27 PM (9 years ago)
Author:
landauf
Message:

fixed unittests (IdentifierManager doesn't always exist in tests)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v3/src/libraries/core/object/Destroyable.cc

    r11054 r11066  
    5454    Destroyable::~Destroyable()
    5555    {
    56         if (!this->requestedDestruction_ && !IdentifierManager::getInstance().isCreatingHierarchy())
     56        if (!this->requestedDestruction_ && IdentifierManager::exists() && !IdentifierManager::getInstance().isCreatingHierarchy())
    5757            orxout(internal_warning) << "Deleted destroyable object without destroy()" << endl;
    5858
Note: See TracChangeset for help on using the changeset viewer.