summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/popup_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-17 11:20:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-17 11:20:14 +0000
commit93bbcf1646e427be610273ae977a349705dcf39c (patch)
tree66b820b2a9dfa07e30a1034742104b6720d281e6 /plugins/Popup/src/popup_thread.cpp
parent152da8847e828b132c5753ae5f58e8272556d4ef (diff)
two forgotten DestroyWindow()
git-svn-id: http://svn.miranda-ng.org/main/trunk@4071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/popup_thread.cpp')
-rw-r--r--plugins/Popup/src/popup_thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Popup/src/popup_thread.cpp b/plugins/Popup/src/popup_thread.cpp
index 5c7ecfb9d0..cbba209c62 100644
--- a/plugins/Popup/src/popup_thread.cpp
+++ b/plugins/Popup/src/popup_thread.cpp
@@ -339,5 +339,6 @@ static void __cdecl PopupThread(void *arg)
DispatchMessage(&msg);
}
- ReleaseMutex(hThreadMutex);
+ DestroyWindow(gHwndManager); gHwndManager = NULL;
+ ReleaseMutex(hThreadMutex); hThreadMutex = NULL;
}