Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix ci (#8407)

21pages4eafa5a58575
diff --git a/src/ipc.rs b/src/ipc.rs
index 2e566feff..f73981126 100644
--- a/src/ipc.rs
+++ b/src/ipc.rs
@@ -363,7 +363,7 @@ async fn handle(data: Data, stream: &mut Connection) {
// below part is for main windows can be reopen during rustdesk installation and installing service from UI
// this make new ipc server (domain socket) can be created.
std::fs::remove_file(&Config::ipc_path("")).ok();
- hbb_common::sleep(crate::platform::SERVICE_INTERVAL * 2 as _).await;
+ hbb_common::sleep((crate::platform::SERVICE_INTERVAL * 2) as f32).await;
crate::run_me::<&str>(vec![]).ok();
}
std::process::exit(-1); // to make sure --server luauchagent process can restart because SuccessfulExit used