mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix: previous session.close read&write error
Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
@@ -179,7 +179,6 @@ impl Session {
|
||||
/// Close the session.
|
||||
pub fn close(&self) {
|
||||
self.send(Data::Close);
|
||||
let _ = SESSIONS.write().unwrap().remove(&self.id);
|
||||
}
|
||||
|
||||
/// Reconnect to the current session.
|
||||
|
||||
Reference in New Issue
Block a user