mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 16:38:17 +00:00
--no-server parameter to avoid server ipc occupied by ui (#9272)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
1 parent
aa3402b44a
commit
f0ca4b9fee
5 files changed
+33
-18
No files matched your search
+3
-3
@@ -401,10 +401,10 @@ async fn handle(data: Data, stream: &mut Connection) {
|
||||
std::fs::remove_file(&Config::ipc_path("")).ok();
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
// https://github.com/rustdesk/rustdesk/discussions/9254, slow on some machines
|
||||
hbb_common::sleep((crate::platform::SERVICE_INTERVAL * 2) as f32 / 1000.0 + 1.2)
|
||||
hbb_common::sleep((crate::platform::SERVICE_INTERVAL * 2) as f32 / 1000.0)
|
||||
.await;
|
||||
crate::run_me::<&str>(vec![]).ok();
|
||||
// https://github.com/rustdesk/rustdesk/discussions/9254
|
||||
crate::run_me::<&str>(vec!["--no-server"]).ok();
|
||||
}
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user