client/x11: don't close locked mutex
This commit is contained in:
parent
0abb285c3d
commit
374f97aad3
@ -1972,7 +1972,6 @@ static void xfreerdp_client_free(freerdp* instance, rdpContext* context)
|
||||
|
||||
if (xfc->mutex)
|
||||
{
|
||||
WaitForSingleObject(xfc->mutex, INFINITE);
|
||||
CloseHandle(xfc->mutex);
|
||||
xfc->mutex = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user