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.
This commit is contained in:
parent
ef9444bd35
commit
9f26f73709
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user