mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-11 12:09:29 +02:00
Cleanup
This commit is contained in:
parent
bce55717dd
commit
700197b221
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue