This commit is contained in:
Bryan Ashby 2020-11-07 21:52:57 -07:00
parent bce55717dd
commit 700197b221
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();
}
if(this.client.term.output) {
this.client.term.output.unpipe(piped);
this.client.term.output.resume();
const output = this.client.term.output;
if(output) {
output.unpipe(piped);
output.resume();
}
this.restored = true;
}