[return checks] fix use of WaitForSingleObject

This commit is contained in:
akallabeth
2024-09-16 05:06:07 +02:00
parent 965d231e49
commit bb242b9a89
33 changed files with 49 additions and 48 deletions

View File

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