[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

@@ -550,7 +550,7 @@ static UINT disp_server_close(DispServerContext* context)
if (priv->thread)
{
SetEvent(priv->stopEvent);
(void)SetEvent(priv->stopEvent);
if (WaitForSingleObject(priv->thread, INFINITE) == WAIT_FAILED)
{