diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-18 22:59:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-18 22:59:17 +0000 |
commit | d3706e3476a8b53e687b4d30324982b860b98c84 (patch) | |
tree | 4e2c037fd276a556f38139a85533133941cf6cbe /plugins/TabSRMM/src/themes.cpp | |
parent | a1c729f0feb8753cb295d5ba491f2fbfd1d00d97 (diff) |
- wiped out very impressive font reloading on exit;
- all GDI handles now closed
git-svn-id: http://svn.miranda-ng.org/main/trunk@9857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index 44243d5717..c6499fc3a7 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -1209,9 +1209,11 @@ void CSkin::Unload() ::DestroyIcon(*(m_skinIcons[i].phIcon));
mir_free(m_skinIcons);
- M.getAeroState(); // refresh after unload
- ::FreeTabConfig();
- ::ReloadTabConfig();
+ if (!g_bShutdown) {
+ M.getAeroState(); // refresh after unload
+ ::FreeTabConfig();
+ ::ReloadTabConfig();
+ }
m_bAvatarBorderType = AVBORDER_NORMAL;
m_avatarBorderClr = ::GetSysColor(COLOR_3DDKSHADOW);
|