diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-01 18:16:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-01 18:16:04 +0000 |
commit | c97a1472f85733e0cf4f3423af6647ff2fa00520 (patch) | |
tree | 61a37070d96d8ea98abacee9a58418ea2915d6e0 /plugins/YAPP/src/message_pump.cpp | |
parent | 686046823acca19e390051ca1b3decf7d001d117 (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/message_pump.cpp')
-rw-r--r-- | plugins/YAPP/src/message_pump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAPP/src/message_pump.cpp b/plugins/YAPP/src/message_pump.cpp index 73dd3fbf1b..3e2ae6a76f 100644 --- a/plugins/YAPP/src/message_pump.cpp +++ b/plugins/YAPP/src/message_pump.cpp @@ -15,7 +15,7 @@ unsigned __stdcall MessagePumpThread(void* param) SetEvent((HANDLE)param);
MSG hwndMsg = { 0 };
- while(GetMessage(&hwndMsg, 0, 0, 0) > 0 && !Miranda_Terminated()) {
+ while (GetMessage(&hwndMsg, 0, 0, 0) > 0 && !bShutdown) {
if (!IsDialogMessage(hwndMsg.hwnd, &hwndMsg)) {
switch(hwndMsg.message) {
case MUM_CREATEPOPUP:
|