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/themes.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/themes.cpp')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index f0486c071b..04fda1e79e 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -1088,9 +1088,7 @@ bool CSkin::warnToClose() const TranslateT("Change skin"), MB_YESNO | MB_ICONQUESTION) != IDYES)
return false;
- TContainerData *pContainer = ::pFirstContainer;
- while (pFirstContainer)
- SendMessage(pFirstContainer->hwnd, WM_CLOSE, 0, 1);
+ CloseAllContainers();
return true;
}
|