This commit is contained in:
rustdesk committed 2022-05-02 00:02:41 +08:00
1 parent 663c5bc355
commit 0e4e7fcb9b
2 files changed
+4 -8

No files matched your search

+1 -3
View File
@@ -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();
}