summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-28 16:35:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-28 16:35:07 +0000
commitb6ff796da871d90064cc1ea9c577644dc25f90cf (patch)
tree1d0ae984c110c4cda43a511a52dcf4e94d11da3e /plugins
parent5ed738eb52c269eb2ff89ee743fdf345efea16d9 (diff)
fix for random crash on exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Mir_core/miranda.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Mir_core/miranda.cpp b/plugins/Mir_core/miranda.cpp
index 067cff5d4c..83abfb3acd 100644
--- a/plugins/Mir_core/miranda.cpp
+++ b/plugins/Mir_core/miranda.cpp
@@ -392,6 +392,9 @@ static void LoadSystemModule(void)
static void UnloadSystemModule(void)
{
+ DestroyWindow(hAPCWindow);
+ CloseHandle(hStackMutex);
+
DestroyModularEngine();
UnloadLangPackModule();
}