diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-02 22:31:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-02 22:31:54 +0300 |
commit | 1a0dc87d73d7a71028ac335be0d67433f410bab1 (patch) | |
tree | 71a20e679cd0e2ed883cda5629ee1d6e667305b3 /plugins/UserInfoEx | |
parent | 3fd8837cf2283b9f2cc463063bb030089451be44 (diff) |
code to prevent UserInfo hooks from being destroyed
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/dlg_propsheet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp index c93136e8fb..d541b37281 100644 --- a/plugins/UserInfoEx/src/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp @@ -1337,6 +1337,7 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar void DlgContactInfoLoadModule()
{
+ // this event is already created inside the core, don't destroy it
g_hDetailsInitEvent = CreateHookableEvent(ME_USERINFO_INITIALISE);
CreateServiceFunction(MS_USERINFO_SHOWDIALOG, ShowDialog);
@@ -1358,5 +1359,4 @@ void DlgContactInfoLoadModule() void DlgContactInfoUnLoadModule()
{
WindowList_Destroy(g_hWindowList);
- DestroyHookableEvent(g_hDetailsInitEvent);
}
|