Resetting abortEvent only on connect and reconnect.
This commit is contained in:
parent
35faa8b221
commit
24c93e4de7
@ -312,8 +312,6 @@ BOOL rdp_client_disconnect(rdpRdp* rdp)
|
||||
{
|
||||
BOOL status;
|
||||
|
||||
ResetEvent(rdp->context->abortEvent);
|
||||
|
||||
if (rdp->settingsCopy)
|
||||
{
|
||||
freerdp_settings_free(rdp->settingsCopy);
|
||||
|
@ -383,6 +383,7 @@ BOOL freerdp_reconnect(freerdp* instance)
|
||||
BOOL status;
|
||||
rdpRdp* rdp = instance->context->rdp;
|
||||
|
||||
ResetEvent(instance->context->abortEvent);
|
||||
status = rdp_client_reconnect(rdp);
|
||||
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user