Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller

This commit is contained in:
Bryan Ashby 2020-11-09 19:41:04 -07:00
commit 52ae983cb4
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 4 additions and 3 deletions

View File

@ -152,9 +152,10 @@ module.exports = class Door {
this.doorPty.kill(); this.doorPty.kill();
} }
if(this.client.term.output) { const output = this.client.term.output;
this.client.term.output.unpipe(piped); if(output) {
this.client.term.output.resume(); output.unpipe(piped);
output.resume();
} }
this.restored = true; this.restored = true;
} }