summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-26 21:40:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-26 21:40:50 +0300
commit1019387a8f6ccc087a113f138c5237146492a356 (patch)
tree50ef616016686e43ae119333ebac88bc90b2ff11 /src/mir_core
parentd61bc49d53578c26b50531fdec1bbd633e19b6ac (diff)
fixes #1527 (Remove obsolete g_hMainThread and QueueUSerAPC from plugins)
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/threads.cpp b/src/mir_core/src/threads.cpp
index 625b84781c..543e2f4a74 100644
--- a/src/mir_core/src/threads.cpp
+++ b/src/mir_core/src/threads.cpp
@@ -40,8 +40,8 @@ static void __stdcall DummyAPCFunc(ULONG_PTR)
static int MirandaWaitForMutex(HANDLE hEvent)
{
+ // will get WAIT_IO_COMPLETE for QueueUserAPC() which isnt a result
for (;;) {
- // will get WAIT_IO_COMPLETE for QueueUserAPC() which isnt a result
DWORD rc = MsgWaitForMultipleObjectsEx(1, &hEvent, INFINITE, QS_ALLINPUT, MWMO_ALERTABLE);
if (rc == WAIT_OBJECT_0 + 1) {
MSG msg;