Do not explicitly kill server
Let the server terminate properly once all the sockets are closed. Fixes #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
This commit is contained in:
@@ -493,8 +493,6 @@ server_stop(struct server *server) {
|
|||||||
|
|
||||||
assert(server->process != PROCESS_NONE);
|
assert(server->process != PROCESS_NONE);
|
||||||
|
|
||||||
cmd_terminate(server->process);
|
|
||||||
|
|
||||||
if (server->tunnel_enabled) {
|
if (server->tunnel_enabled) {
|
||||||
// ignore failure
|
// ignore failure
|
||||||
disable_tunnel(server);
|
disable_tunnel(server);
|
||||||
|
|||||||
Reference in New Issue
Block a user