mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-24 05:31:03 +03:00
del unused
This commit is contained in:
@@ -51,13 +51,6 @@ impl Session {
|
||||
});
|
||||
}
|
||||
|
||||
pub fn ensure_init_event_queue() {
|
||||
let mut s = SESSION.write().unwrap();
|
||||
if s.is_none() {
|
||||
s.replace(Session::default());
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get() -> Arc<RwLock<Option<Session>>> {
|
||||
SESSION.clone()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user