mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
The client's `ClientStop` callback wasn't set, therefore calling freerdp_client_stop wasn't really blocking until it has stopped, and a race condition occured. Fixed by registring to `ClientStop` callback and waiting for the client thread to finish.