From d3706e3476a8b53e687b4d30324982b860b98c84 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jul 2014 22:59:17 +0000 Subject: - 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 --- plugins/TabSRMM/src/globals.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/TabSRMM/src/globals.cpp') 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(); -- cgit v1.2.3