summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua.cpp')
-rw-r--r--plugins/MirLua/src/mlua.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp
index 6a54f92592..c55cbe57f7 100644
--- a/plugins/MirLua/src/mlua.cpp
+++ b/plugins/MirLua/src/mlua.cpp
@@ -71,6 +71,8 @@ void CMLua::Unload()
::KillModuleIcons(hScriptsLangpack);
::KillModuleMenus(hScriptsLangpack);
::KillModuleHotkeys(hScriptsLangpack);
+ ::KillObjectEventHooks(L);
+ ::KillObjectServices(L);
CMLua::KillModuleServices();
CMLua::KillModuleEventHooks();
//KillModuleSubclassing