This commit is contained in:
Eugene Pankov 2020-07-17 20:45:18 +02:00
parent bb1557b0a4
commit dbda8dad34
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -161,7 +161,7 @@ export class SSHSession extends BaseSession {
}
})
this.shell.on('end', e => {
this.shell.on('end', () => {
this.logger.info('Shell session ended')
if (this.open) {
this.destroy()