mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix cm
This commit is contained in:
@@ -296,9 +296,7 @@ handler.removeConnection = function(id) {
|
||||
});
|
||||
if (i < 0) return;
|
||||
connections.splice(i, 1);
|
||||
if (connections.length == 0) {
|
||||
handler.exit();
|
||||
} else {
|
||||
if (connections.length > 0) {
|
||||
if (body.cur >= i && body.cur > 0) body.cur -= 1;
|
||||
update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user