mirror of https://github.com/FreeRDP/FreeRDP
Abortion check now just tests for quit in the queue.
This commit is contained in:
parent
7e481d31b2
commit
2a6253ecfa
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue