mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 00:36:14 +00:00
fix cm
This commit is contained in:
1 parent
663c5bc355
commit
0e4e7fcb9b
2 files changed
+4
-8
No files matched your search
+1
-3
@@ -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