mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 11:35:56 +00:00
@@ -1187,7 +1187,9 @@ impl<T: InvokeUiSession> Session<T> {
|
|||||||
pub async fn io_loop<T: InvokeUiSession>(handler: Session<T>) {
|
pub async fn io_loop<T: InvokeUiSession>(handler: Session<T>) {
|
||||||
// It is ok to call this function multiple times.
|
// It is ok to call this function multiple times.
|
||||||
#[cfg(target_os ="windows")]
|
#[cfg(target_os ="windows")]
|
||||||
|
if !handler.is_file_transfer() && !handler.is_port_forward() {
|
||||||
clipboard::ContextSend::enable(true);
|
clipboard::ContextSend::enable(true);
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||||
let (sender, receiver) = mpsc::unbounded_channel::<Data>();
|
let (sender, receiver) = mpsc::unbounded_channel::<Data>();
|
||||||
|
|||||||
Reference in New Issue
Block a user