summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/popup_thread.cpp
diff options
context:
space:
mode:
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;
}