summaryrefslogtreecommitdiff
path: root/src/modmanager_dynamic.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_dynamic.cpp
parent08a566b5d7f4a9c1bafd4bf74d2a05ed8010d6b6 (diff)
Don't attempt to unload or reload modules that are waiting to be unloaded
Diffstat (limited to 'src/modmanager_dynamic.cpp')
-rw-r--r--src/modmanager_dynamic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index dab1143ad..7dae49a18 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -66,6 +66,7 @@ bool ModuleManager::Load(const std::string& filename, bool defer)
{
newmod->ModuleSourceFile = filename;
newmod->ModuleDLLManager = newhandle;
+ newmod->dying = false;
Modules[filename] = newmod;
std::string version = newhandle->GetVersion();
if (defer)