mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[return checks] fix use of WaitForSingleObject
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user