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:
akallabeth 2021-12-06 09:41:05 +01:00 committed by GitHub
parent 10ee86527a
commit 1265114be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))