Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11691 for code/trunk/src


Ignore:
Timestamp:
Jan 3, 2018, 1:05:21 AM (7 years ago)
Author:
landauf
Message:

bugfix: don't try to unload a DynLib if it doesn't exist (e.g. after loading the DynLib failed)

File:
1 edited

Legend:

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

    r11115 r11691  
    327327
    328328        module->deleteAllStaticallyInitializedInstances();
    329         this->dynLibManager_->unload(module->getDynLib());
    330         module->setDynLib(nullptr);
     329        if (module->getDynLib()) {
     330            this->dynLibManager_->unload(module->getDynLib());
     331            module->setDynLib(nullptr);
     332        }
    331333    }
    332334
Note: See TracChangeset for help on using the changeset viewer.