Merge pull request #6385 from 21pages/only_windows_check_cm_exit

only windows no prelogin check cm exit
This commit is contained in:
RustDesk 2023-11-12 22:18:55 +08:00 committed by GitHub
commit 0500f56163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))]