summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-07 15:36:11 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-07 15:36:11 +0300
commit5c92db38c3f757395eb94c0c9f990dbe859746aa (patch)
tree079740fafdb70f9dfe77a7a9faaee900ba62d238 /src
parent978b44865b77eb0029e6033dcbfc0876954cef2e (diff)
compilation fix
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_svc.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp
index 99ab00f793..5b57d79b00 100644
--- a/src/mir_app/src/chat_svc.cpp
+++ b/src/mir_app/src/chat_svc.cpp
@@ -31,6 +31,7 @@ mir_cs csChat;
HMENU g_hMenu = nullptr;
HGENMENU hJoinMenuItem, hLeaveMenuItem;
MWindowList g_hWindowList;
+HANDLE hevSendEvent, hevBuildMenuEvent;
static HANDLE
hServiceRegister = nullptr,
@@ -811,9 +812,12 @@ void UnloadChatModule(void)
WindowList_Destroy(g_hWindowList);
- DestroyHookableEvent(chatApi.hSendEvent);
- DestroyHookableEvent(chatApi.hBuildMenuEvent);
+ DestroyHookableEvent(hevSendEvent);
+ DestroyHookableEvent(hevBuildMenuEvent);
DestroyHookableEvent(hHookEvent);
+ DestroyHookableEvent(chatApi.hevPreCreate);
+ DestroyHookableEvent(chatApi.hevWinPopup);
+
DestroyMenu(g_hMenu);
}