summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-01 18:16:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-01 18:16:04 +0000
commitc97a1472f85733e0cf4f3423af6647ff2fa00520 (patch)
tree61a37070d96d8ea98abacee9a58418ea2915d6e0 /plugins/YAPP/src/yapp.cpp
parent686046823acca19e390051ca1b3decf7d001d117 (diff)
crash fix for YAPP (on exit)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp.cpp')
-rw-r--r--plugins/YAPP/src/yapp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp
index 0b7acda833..4b8ffe32f8 100644
--- a/plugins/YAPP/src/yapp.cpp
+++ b/plugins/YAPP/src/yapp.cpp
@@ -4,6 +4,7 @@
#include "common.h"
HMODULE hInst = 0;
+bool bShutdown = false;
MNOTIFYLINK *notifyLink = 0;
@@ -225,6 +226,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
int PreShutdown(WPARAM wParam, LPARAM lParam)
{
+ bShutdown = true;
DeinitMessagePump();
DeinitNotify();
return 0;