winpr-comm: fixed _set_wait_mask() on previous commit
This commit is contained in:
parent
1aeca8fbc7
commit
ae3dd68b88
@ -1016,7 +1016,7 @@ static BOOL _set_wait_mask(WINPR_COMM *pComm, const ULONG *pWaitMask)
|
|||||||
/* NB: ensure to leave the critical section before to return */
|
/* NB: ensure to leave the critical section before to return */
|
||||||
EnterCriticalSection(&pComm->EventsLock);
|
EnterCriticalSection(&pComm->EventsLock);
|
||||||
|
|
||||||
if (pComm->PendingEvents |= SERIAL_EV_FREERDP_CLOSING)
|
if (pComm->PendingEvents & SERIAL_EV_FREERDP_CLOSING)
|
||||||
{
|
{
|
||||||
return TRUE; /* returns without complaining */
|
return TRUE; /* returns without complaining */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user