Skip to content

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

only windows no prelogin check cm exit

21pages52e5d519ab77
diff --git a/src/server/connection.rs b/src/server/connection.rs
index b0fd19891..f881a27d0 100644
--- a/src/server/connection.rs
+++ b/src/server/connection.rs
@@ -1484,7 +1484,10 @@ impl Connection {
.await
{
log::error!("ipc to connection manager exit: {}", err);
- allow_err!(tx_from_cm_clone.send(Data::CmErr(err.to_string())));
+ #[cfg(windows)]
+ if !crate::platform::is_prelogin() {
+ allow_err!(tx_from_cm_clone.send(Data::CmErr(err.to_string())));
+ }
}
});
#[cfg(all(windows, feature = "flutter"))]