mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 23:02:41 +00:00
kill ssh session when closing tab - fixes #3207
This commit is contained in:
parent
edb07e155c
commit
c39826bd16
1 changed files with 2 additions and 0 deletions
|
@ -379,6 +379,8 @@ export class SSHSession extends BaseSession {
|
|||
async destroy (): Promise<void> {
|
||||
this.serviceMessage.complete()
|
||||
this.proxyCommandStream?.destroy()
|
||||
this.kill()
|
||||
this.ssh.end()
|
||||
await super.destroy()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue