mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
refactor(clipboard): remove redundant stale listener cleanup
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
63fc05622f
commit
90b27fdce7
1 changed files with 0 additions and 1 deletions
|
|
@ -862,7 +862,6 @@ pub mod clipboard_listener {
|
|||
pub fn subscribe(name: String, tx: Sender<CallbackResult>) -> ResultType<()> {
|
||||
log::info!("Subscribe clipboard listener: {}", &name);
|
||||
let mut listener_lock = CLIPBOARD_LISTENER.lock().unwrap();
|
||||
cleanup_stale_listener(&mut listener_lock);
|
||||
listener_lock
|
||||
.subscribers
|
||||
.lock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue