mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 22:14:20 +01:00
Split server stop() and join()
For consistency with the other components, call stop() and join() separately. This allows to stop all components, then join them all.
This commit is contained in:
@@ -698,6 +698,10 @@ end:
|
||||
sc_file_pusher_destroy(&s->file_pusher);
|
||||
}
|
||||
|
||||
if (server_started) {
|
||||
sc_server_join(&s->server);
|
||||
}
|
||||
|
||||
sc_server_destroy(&s->server);
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user