mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 09:06:03 +00:00
kill ssh session when closing tab - fixes #3207
This commit is contained in:
@@ -379,6 +379,8 @@ export class SSHSession extends BaseSession {
|
|||||||
async destroy (): Promise<void> {
|
async destroy (): Promise<void> {
|
||||||
this.serviceMessage.complete()
|
this.serviceMessage.complete()
|
||||||
this.proxyCommandStream?.destroy()
|
this.proxyCommandStream?.destroy()
|
||||||
|
this.kill()
|
||||||
|
this.ssh.end()
|
||||||
await super.destroy()
|
await super.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user