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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user