Resetting abort event on freerdp_connect.
authorArmin Novak <armin.novak@thincast.com>
Mon, 18 Jan 2016 09:08:12 +0000 (10:08 +0100)
committerArmin Novak <armin.novak@thincast.com>
Mon, 18 Jan 2016 09:08:12 +0000 (10:08 +0100)
libfreerdp/core/freerdp.c

index cce07fe..24e825c 100644 (file)
@@ -71,6 +71,7 @@ BOOL freerdp_connect(freerdp* instance)
        connectErrorCode = 0;
        freerdp_set_last_error(instance->context, FREERDP_ERROR_SUCCESS);
        clearChannelError(instance->context);
+       ResetEvent(instance->context->abortEvent);
 
        rdp = instance->context->rdp;
        settings = instance->settings;