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