mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-13 06:42:18 +00:00
fix: previous session.close read&write error
Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
1 parent
60a628aefe
commit
d0422fa87e
2 files changed
+1
-1
No files matched your search
@@ -133,6 +133,7 @@ pub fn session_close(id: String) {
|
||||
if let Some(session) = SESSIONS.read().unwrap().get(&id) {
|
||||
session.close();
|
||||
}
|
||||
let _ = SESSIONS.write().unwrap().remove(&id);
|
||||
}
|
||||
|
||||
pub fn session_refresh(id: String) {
|
||||
|
||||
Reference in new issue
Block a user