Abortion check now just tests for quit in the queue.

This commit is contained in:
Armin Novak 2014-05-27 09:32:58 +02:00
parent 7e481d31b2
commit 2a6253ecfa
1 changed files with 4 additions and 1 deletions

View File

@ -1327,7 +1327,10 @@ void* xf_input_thread(void* arg)
}
else if (ev == WAIT_OBJECT_0 + 1)
{
if (!freerdp_message_queue_process_pending_messages(instance, FREERDP_INPUT_MESSAGE_QUEUE))
wMessage msg;
MessageQueue_Peek(queue, &msg, FALSE);
if (msg.id == WMQ_QUIT)
break;
}
}