mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
Fix. Text clipboard is not working correctly (#7226)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
d7d7be9366
commit
09325fadaf
3 files changed
+7
-13
No files matched your search
+2
-5
@@ -702,12 +702,9 @@ impl Client {
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
fn try_stop_clipboard(_self_id: &str) {
|
||||
fn try_stop_clipboard() {
|
||||
#[cfg(feature = "flutter")]
|
||||
if crate::flutter::sessions::other_sessions_running(
|
||||
_self_id.to_string(),
|
||||
ConnType::DEFAULT_CONN,
|
||||
) {
|
||||
if crate::flutter::sessions::has_sessions_running(ConnType::DEFAULT_CONN) {
|
||||
return;
|
||||
}
|
||||
TEXT_CLIPBOARD_STATE.lock().unwrap().running = false;
|
||||
|
||||
Reference in new issue
Block a user