[return checks] fix use of SetEvent

This commit is contained in:
akallabeth
2024-09-16 04:50:45 +02:00
parent 80e0c68dca
commit 7d67b8e204
60 changed files with 85 additions and 84 deletions

View File

@@ -82,7 +82,7 @@ static void test_peer_context_free(freerdp_peer* client, rdpContext* ctx)
if (context->debug_channel_thread)
{
WINPR_ASSERT(context->stopEvent);
SetEvent(context->stopEvent);
(void)SetEvent(context->stopEvent);
WaitForSingleObject(context->debug_channel_thread, INFINITE);
CloseHandle(context->debug_channel_thread);
}