diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-19 20:00:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-19 20:00:14 +0000 |
commit | 984d7e53da6eae8952d453ce6ae811ad9a82fd6d (patch) | |
tree | 6bdc450e827028ed0f8131ba95d55cee532d1365 /plugins/FavContacts/src/main.cpp | |
parent | 1f3a176affb5722a8183dafba354c6936f1aa3b6 (diff) |
direct calls of ::CreateThread removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@7769 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src/main.cpp')
-rw-r--r-- | plugins/FavContacts/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FavContacts/src/main.cpp b/plugins/FavContacts/src/main.cpp index 18a6dd9df9..9339b613ae 100644 --- a/plugins/FavContacts/src/main.cpp +++ b/plugins/FavContacts/src/main.cpp @@ -296,6 +296,7 @@ extern "C" __declspec(dllexport) int Load(void) HookEvent(ME_OPT_INITIALISE, ProcessOptInitialise);
HookEvent(ME_SYSTEM_MODULESLOADED, ProcessModulesLoaded);
+ HookEvent(ME_SYSTEM_SHUTDOWN, UnloadHttpApi);
/////////////////////////////////////////////////////////////////////////////////////
@@ -317,7 +318,6 @@ extern "C" __declspec(dllexport) int Load(void) extern "C" __declspec(dllexport) int Unload(void)
{
- UnloadHttpApi();
if (g_hwndMenuHost) DestroyWindow(g_hwndMenuHost);
if (g_Options.hfntName) DeleteObject(g_Options.hfntName);
if (g_Options.hfntSecond) DeleteObject(g_Options.hfntSecond);
|