diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-12 13:34:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-12 13:34:51 +0000 |
commit | 725e00eb2b70847f8eb9d96f3337b5ef1646171e (patch) | |
tree | ef684e442dce4b549fbc216903fb4b0126540e5f /plugins/TabSRMM | |
parent | 5d0d8d687b6b5f9baccc6d7192fbb2f6883a7d54 (diff) |
fix for the very rare crash on exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/include/mim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/include/mim.h b/plugins/TabSRMM/include/mim.h index 9bee54ffbd..712831fec2 100644 --- a/plugins/TabSRMM/include/mim.h +++ b/plugins/TabSRMM/include/mim.h @@ -110,12 +110,12 @@ public: }
~CMimAPI() {
+ if (m_haveBufferedPaint)
+ m_pfnBufferedPaintUninit();
if (m_hUxTheme != 0)
FreeLibrary(m_hUxTheme);
if (m_hDwmApi != 0)
FreeLibrary(m_hDwmApi);
- if (m_haveBufferedPaint)
- m_pfnBufferedPaintUninit();
if (m_hChatLogLock != INVALID_HANDLE_VALUE)
CloseHandle(m_hChatLogLock);
|