Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
b19fb134
Unverified
Commit
b19fb134
authored
Jan 10, 2018
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: disconnect all
parent
fb78bff5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
ssh.component.ts
src/app/ControlPage/control/ssh/ssh.component.ts
+2
-5
No files found.
src/app/ControlPage/control/ssh/ssh.component.ts
View file @
b19fb134
...
@@ -30,11 +30,8 @@ export class SshComponent implements OnInit {
...
@@ -30,11 +30,8 @@ export class SshComponent implements OnInit {
static
TerminalDisconnectAll
()
{
static
TerminalDisconnectAll
()
{
alert
(
'TerminalDisconnectAll'
);
alert
(
'TerminalDisconnectAll'
);
for
(
let
_i
=
0
;
_i
<
NavList
.
List
.
length
;
_i
++
)
{
for
(
let
i
=
0
;
i
<
NavList
.
List
.
length
;
i
++
)
{
SshComponent
.
TerminalDisconnect
(
_i
);
SshComponent
.
TerminalDisconnect
(
NavList
.
List
[
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');
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment