Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 2, 2016, 4:06:30 PM (8 years ago)
Author:
landauf
Message:

Added config value to PluginManager to define whether a dereferenced plugin should be completely unloaded (i.e. the shared library is closed) or merely deactivated (i.e. the library remains in the process, but Identifiers and other framework components are removed).
This option is true by default on tardis machines because there it seems impossible to completely unload a shared library due to the use of STB_GNU_UNIQUE which prevents that dlclose() unloads the library. This caused errors when a plugin should have been reloaded, e.g. when the pong level was restarted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/SpecialConfig.h.in

    r10624 r11016  
    5151
    5252#cmakedefine ORXONOX_USE_WINMAIN            ///< Whether or not the console window is started as well
     53
     54#cmakedefine DO_NOT_UNLOAD_PLUGINS          ///< If defined then plugins are not unloaded (but merely deactivated) when the reference count drops to zero.
    5355
    5456// Handle default ConfigValues
Note: See TracChangeset for help on using the changeset viewer.