Resetting abort event on freerdp_connect.

This commit is contained in:
Armin Novak 2016-01-18 10:08:12 +01:00
parent e2dbe5ee2d
commit 5542fef75d

View File

@ -71,6 +71,7 @@ BOOL freerdp_connect(freerdp* instance)
connectErrorCode = 0; connectErrorCode = 0;
freerdp_set_last_error(instance->context, FREERDP_ERROR_SUCCESS); freerdp_set_last_error(instance->context, FREERDP_ERROR_SUCCESS);
clearChannelError(instance->context); clearChannelError(instance->context);
ResetEvent(instance->context->abortEvent);
rdp = instance->context->rdp; rdp = instance->context->rdp;
settings = instance->settings; settings = instance->settings;