mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-10 02:01:27 +03:00
fix on cm (connectin not closed somehow) and refactor isEnterKey
This commit is contained in:
@@ -349,6 +349,10 @@ async fn start_ipc(cm: ConnectionManager) {
|
||||
conn_id = id;
|
||||
cm.add_connection(id, is_file_transfer, port_forward, peer_id, name, authorized, keyboard, clipboard, audio, tx.clone());
|
||||
}
|
||||
Data::Close => {
|
||||
log::info!("cm ipc connection closed from connection request");
|
||||
break;
|
||||
}
|
||||
_ => {
|
||||
cm.handle_data(conn_id, data, &mut write_jobs, &mut stream).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user