mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 16:38:17 +00:00
change update_clipboard to threaded, since creating a context may take long
This commit is contained in:
1 parent
25d0ced8ba
commit
1f129e6ef3
5 files changed
+52
-14
No files matched your search
+2
-2
@@ -144,8 +144,8 @@ const PUBLIC_SERVER: &str = "public";
|
||||
|
||||
#[inline]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn get_old_clipboard_text() -> &'static Arc<Mutex<String>> {
|
||||
&OLD_CLIPBOARD_TEXT
|
||||
pub fn get_old_clipboard_text() -> Arc<Mutex<String>> {
|
||||
OLD_CLIPBOARD_TEXT.clone()
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
|
||||
Reference in new issue
Block a user