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:
@@ -685,7 +685,7 @@ static UINT remdesk_server_start(RemdeskServerContext* context)
|
||||
static UINT remdesk_server_stop(RemdeskServerContext* context)
|
||||
{
|
||||
UINT error = 0;
|
||||
SetEvent(context->priv->StopEvent);
|
||||
(void)SetEvent(context->priv->StopEvent);
|
||||
|
||||
if (WaitForSingleObject(context->priv->Thread, INFINITE) == WAIT_FAILED)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user