Do not assert in abort_connect

This commit is contained in:
akallabeth 2022-06-23 09:10:30 +02:00 committed by akallabeth
parent 087e71f439
commit f8a6c0db3f

View File

@ -189,7 +189,8 @@ BOOL utils_str_is_empty(const char* str)
BOOL utils_abort_connect(rdpRdp* rdp)
{
WINPR_ASSERT(rdp);
if (!rdp)
return FALSE;
return SetEvent(rdp->abortEvent);
}