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;
|
BOOL status;
|
||||||
|
|
||||||
ResetEvent(rdp->context->abortEvent);
|
|
||||||
|
|
||||||
if (rdp->settingsCopy)
|
if (rdp->settingsCopy)
|
||||||
{
|
{
|
||||||
freerdp_settings_free(rdp->settingsCopy);
|
freerdp_settings_free(rdp->settingsCopy);
|
||||||
|
@ -383,6 +383,7 @@ BOOL freerdp_reconnect(freerdp* instance)
|
|||||||
BOOL status;
|
BOOL status;
|
||||||
rdpRdp* rdp = instance->context->rdp;
|
rdpRdp* rdp = instance->context->rdp;
|
||||||
|
|
||||||
|
ResetEvent(instance->context->abortEvent);
|
||||||
status = rdp_client_reconnect(rdp);
|
status = rdp_client_reconnect(rdp);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
Loading…
Reference in New Issue
Block a user