diff --git a/tabby-serial/src/components/serialTab.component.ts b/tabby-serial/src/components/serialTab.component.ts index 47e90815..7a04b599 100644 --- a/tabby-serial/src/components/serialTab.component.ts +++ b/tabby-serial/src/components/serialTab.component.ts @@ -59,6 +59,8 @@ export class SerialTabComponent extends ConnectableTerminalTabComponent { - this.session?.destroy() - await this.initializeSession() - this.session?.releaseInitialDataBuffer() - } - async changeBaudRate () { const rate = await this.selector.show( this.translate.instant(_('Baud rate')), diff --git a/tabby-ssh/src/components/sshTab.component.ts b/tabby-ssh/src/components/sshTab.component.ts index f024ce8c..eae39e4e 100644 --- a/tabby-ssh/src/components/sshTab.component.ts +++ b/tabby-ssh/src/components/sshTab.component.ts @@ -212,12 +212,6 @@ export class SSHTabComponent extends ConnectableTerminalTabComponent modal.session = this.sshSession! } - async reconnect (): Promise { - this.session?.destroy() - await this.initializeSession() - this.session?.releaseInitialDataBuffer() - } - async canClose (): Promise { if (!this.session?.open) { return true diff --git a/tabby-telnet/src/components/telnetTab.component.ts b/tabby-telnet/src/components/telnetTab.component.ts index 3b589ccd..cfa6f7f0 100644 --- a/tabby-telnet/src/components/telnetTab.component.ts +++ b/tabby-telnet/src/components/telnetTab.component.ts @@ -94,12 +94,6 @@ export class TelnetTabComponent extends ConnectableTerminalTabComponent { - this.session?.destroy() - await this.initializeSession() - this.session?.releaseInitialDataBuffer() - } - async canClose (): Promise { if (!this.session?.open) { return true