diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-19 10:50:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-19 10:50:55 +0000 |
commit | 18f47c388bfc624918358517246d1756ed340ef3 (patch) | |
tree | 638d07017405781c1989ab54b8fd416e0abcb8bf /plugins/TabSRMM/src/globals.cpp | |
parent | a7eaae2cf935a1b4037d57d912f683d40bd65fc5 (diff) |
fix for deadlock on messages in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@7749 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index e10b9d2253..a2bf75563f 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -540,12 +540,7 @@ int CGlobals::MetaContactEvent(WPARAM wParam, LPARAM lParam) int CGlobals::PreshutdownSendRecv(WPARAM wParam, LPARAM lParam)
{
::TN_ModuleDeInit();
-
- while(pFirstContainer){
- if (PluginConfig.m_HideOnClose)
- PluginConfig.m_HideOnClose = FALSE;
- ::SendMessage(pFirstContainer->hwnd, WM_CLOSE, 0, 1);
- }
+ ::CloseAllContainers();
for (HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
db_set_dw(hContact, SRMSGMOD_T, "messagecount", 0);
|