[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

@@ -328,7 +328,7 @@ static UINT echo_server_close(echo_server_context* context)
if (echo->thread)
{
SetEvent(echo->stopEvent);
(void)SetEvent(echo->stopEvent);
if (WaitForSingleObject(echo->thread, INFINITE) == WAIT_FAILED)
{