ref(connectable tab) reconnect context menu & hotkey n°2

This commit is contained in:
Clem Fern
2023-05-12 19:30:24 +02:00
parent 1e6f6af5ed
commit 2b5976f202
3 changed files with 2 additions and 18 deletions

View File

@@ -94,12 +94,6 @@ export class TelnetTabComponent extends ConnectableTerminalTabComponent<TelnetPr
}
}
async reconnect (): Promise<void> {
this.session?.destroy()
await this.initializeSession()
this.session?.releaseInitialDataBuffer()
}
async canClose (): Promise<boolean> {
if (!this.session?.open) {
return true