mainly for mac, if somehow --server not killed

This commit is contained in:
rustdesk 2023-08-12 15:17:00 +08:00
parent 0e6d368970
commit 85c149d8e4

View File

@ -107,7 +107,9 @@ pub fn make_tray() -> hbb_common::ResultType<()> {
return; return;
} }
*/ */
crate::platform::uninstall_service(false); if !crate::platform::uninstall_service(false) {
*control_flow = ControlFlow::Exit;
}
} else if event.id == open_i.id() { } else if event.id == open_i.id() {
open_func(); open_func();
} }