summaryrefslogtreecommitdiff
path: root/src/modmanager_static.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-05 18:23:44 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-05 18:23:44 +0200
commit0fa365373eb9110a05ee4be5c36c9757c30f1a25 (patch)
tree54bb2e558a5bb8f2416e32977db6b767d7eb6f84 /src/modmanager_static.cpp
parent08a566b5d7f4a9c1bafd4bf74d2a05ed8010d6b6 (diff)
Don't attempt to unload or reload modules that are waiting to be unloaded
Diffstat (limited to 'src/modmanager_static.cpp')
-rw-r--r--src/modmanager_static.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp
index d2a2f2c09..8f532ee80 100644
--- a/src/modmanager_static.cpp
+++ b/src/modmanager_static.cpp
@@ -93,6 +93,7 @@ bool ModuleManager::Load(const std::string& name, bool defer)
mod = (*it->second->init)();
mod->ModuleSourceFile = name;
mod->ModuleDLLManager = NULL;
+ mod->dying = false;
Modules[name] = mod;
if (defer)
{