提交 eda44b60 编写于 作者: R Romain Vimont

Fix controller cleanup

After commit bfb86ca2, the controller
was not stopped and destroyed on quit.
上级 ebccb9f6
......@@ -364,10 +364,12 @@ scrcpy(const struct scrcpy_options *options) {
if (!controller_init(&controller, server.control_socket)) {
goto end;
}
controller_initialized = true;
if (!controller_start(&controller)) {
goto end;
}
controller_started = true;
}
if (!screen_init_rendering(&screen, device_name, frame_size,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册