mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-14 16:40:05 +00:00
kill ssh session when closing tab - fixes #3207
This commit is contained in:
parent
edb07e155c
commit
c39826bd16
@ -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…
x
Reference in New Issue
Block a user