only windows no prelogin check cm exit

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-11-12 22:09:41 +08:00
parent 45dbea57f1
commit 52e5d519ab

View File

@ -1484,8 +1484,11 @@ impl Connection {
.await .await
{ {
log::error!("ipc to connection manager exit: {}", err); log::error!("ipc to connection manager exit: {}", err);
#[cfg(windows)]
if !crate::platform::is_prelogin() {
allow_err!(tx_from_cm_clone.send(Data::CmErr(err.to_string()))); allow_err!(tx_from_cm_clone.send(Data::CmErr(err.to_string())));
} }
}
}); });
#[cfg(all(windows, feature = "flutter"))] #[cfg(all(windows, feature = "flutter"))]
std::thread::spawn(|| { std::thread::spawn(|| {