mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-23 23:54:25 +01:00
The current process could be waited both by run_file_handler() and file_handler_stop(). To avoid the race condition, wait the process without closing, then close with mutex locked.