Added delay for connect abort
The connection abort must be called after freerdp_connect.
Ensure that this function is already running by waiting
a second.
@@ -136,6 +136,7 @@ static int testAbort(int port)
}
WaitForSingleObject(s_sync, INFINITE);
+ Sleep(1000); /* Wait until freerdp_connect has been called */
freerdp_abort_connect(instance);
status = WaitForSingleObject(instance->context->abortEvent, 0);
