Fixed freerdp_disconnect (#7479)
Added a missing call to freerdp_abort_connect to ensure all threads terminate in an orderly fashion
This commit is contained in:
parent
10ee86527a
commit
1265114be7
@ -471,6 +471,7 @@ BOOL freerdp_disconnect(freerdp* instance)
|
||||
if (!instance || !instance->context)
|
||||
return FALSE;
|
||||
|
||||
freerdp_abort_connect(instance);
|
||||
rdp = instance->context->rdp;
|
||||
|
||||
if (!rdp_client_disconnect(rdp))
|
||||
|
Loading…
Reference in New Issue
Block a user