summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-15 20:14:27 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-15 20:14:27 +0000
commitba3469a33a14a198e36fe7a0728e0aff9b465eb3 (patch)
treebb6fee867c456aeb1f0d668eb2a61eebaae97ab1 /plugins/MirLua/src/mlua.cpp
parentdaf68b05d9685e5e9ea9abd828bc05f69cb59650 (diff)
MirLua: cleanup icons on scripts restart
git-svn-id: http://svn.miranda-ng.org/main/trunk@14573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua.cpp')
-rw-r--r--plugins/MirLua/src/mlua.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp
index 2fabce2740..61405de928 100644
--- a/plugins/MirLua/src/mlua.cpp
+++ b/plugins/MirLua/src/mlua.cpp
@@ -59,7 +59,8 @@ void CMLua::Unload()
CallService(MS_NETLIB_LOG, (WPARAM)hNetlib, (LPARAM)"Unloading lua engine");
NotifyEventHooks(hUnloadEvent);
-
+
+ ::KillModuleIcons(hScriptsLangpack);
::KillModuleMenus(hScriptsLangpack);
CMLua::KillModuleServices();
CMLua::KillModuleEventHooks();