remove CLIPRDR_NAME

This commit is contained in:
rustdesk 2022-02-15 22:33:44 +08:00
parent 104c022b26
commit 52919fd77b
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ use hbb_common::{config::RENDEZVOUS_PORT, futures::future::join_all};
use std::sync::{Arc, Mutex};
pub const CLIPBOARD_NAME: &'static str = "clipboard";
pub const CLIPRDR_NAME: &'static str = "cliprdr";
pub const CLIPBOARD_INTERVAL: u64 = 333;
lazy_static::lazy_static! {

View File

@ -11,7 +11,7 @@ use hbb_common::{
};
use std::sync::atomic::{AtomicBool, Ordering};
pub use crate::common::CLIPRDR_NAME as NAME;
pub const NAME: &'static str = "cliprdr";
lazy_static::lazy_static! {
static ref MSG_CHANNEL_SERVER: (UnboundedSender<(ConnID, Cliprdr)>, TokioMutex<UnboundedReceiver<(ConnID, Cliprdr)>>) = {