From b6ff796da871d90064cc1ea9c577644dc25f90cf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Jun 2012 16:35:07 +0000 Subject: fix for random crash on exit git-svn-id: http://svn.miranda-ng.org/main/trunk@670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Mir_core/miranda.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); } -- cgit v1.2.3