Added missing WINPR_ASSERT to MessageQueue

This commit is contained in:
akallabeth 2021-09-17 08:50:00 +02:00 committed by akallabeth
parent d80b418bbc
commit 53a52a055d

View File

@ -131,6 +131,7 @@ BOOL MessageQueue_Dispatch(wMessageQueue* queue, const wMessage* message)
if (!message)
return FALSE;
WINPR_ASSERT(queue);
EnterCriticalSection(&queue->lock);
if (queue->closed)