close streamProcessor in telnet tabs

This commit is contained in:
Eugene Pankov
2021-07-09 10:31:12 +02:00
parent 46e0035327
commit b9763044ee

View File

@@ -80,6 +80,7 @@ export class TelnetSession extends BaseSession {
} }
async destroy (): Promise<void> { async destroy (): Promise<void> {
this.streamProcessor.close()
this.serviceMessage.complete() this.serviceMessage.complete()
this.kill() this.kill()
await super.destroy() await super.destroy()