fix: disconnect all

parent fb78bff5
......@@ -30,11 +30,8 @@ export class SshComponent implements OnInit {
static TerminalDisconnectAll() {
alert('TerminalDisconnectAll');
for (let _i = 0; _i < NavList.List.length; _i++) {
SshComponent.TerminalDisconnect(_i);
// TermStore.term[i]["connected"] = false;
// TermStore.term[i]["socket"].destroy();
// TermStore.term[i]["term"].write('\r\n\x1b[31mBye Bye!\x1b[m\r\n');
for (let i = 0; i < NavList.List.length; i++) {
SshComponent.TerminalDisconnect(NavList.List[i]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment