mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
win_fix_multi_tab: refactor clipboard on windows, mid commit2
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -68,7 +68,7 @@ lazy_static::lazy_static! {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub async fn get_rx_cliprdr_client<'a>(
|
||||
pub fn get_rx_cliprdr_client<'a>(
|
||||
peer_id: &str,
|
||||
) -> (i32, Arc<TokioMutex<UnboundedReceiver<ClipbaordFile>>>) {
|
||||
let mut lock = VEC_MSG_CHANNEL.write().unwrap();
|
||||
@@ -92,7 +92,7 @@ pub async fn get_rx_cliprdr_client<'a>(
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub async fn get_rx_cliprdr_server<'a>(
|
||||
pub fn get_rx_cliprdr_server<'a>(
|
||||
conn_id: i32,
|
||||
) -> Arc<TokioMutex<UnboundedReceiver<ClipbaordFile>>> {
|
||||
let mut lock = VEC_MSG_CHANNEL.write().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user