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/globals.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/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index 1f709f1e46..1d0284ce35 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -31,6 +31,8 @@ void Chat_ModulesLoaded();
+bool g_bShutdown = false;
+
CGlobals PluginConfig;
CGlobals* pConfig = &PluginConfig;
@@ -518,6 +520,8 @@ int CGlobals::MetaContactEvent(WPARAM hContact, LPARAM lParam) int CGlobals::PreshutdownSendRecv(WPARAM wParam, LPARAM lParam)
{
+ g_bShutdown = true;
+
::TN_ModuleDeInit();
::CloseAllContainers();
|