Clean up unneeded export, variables and assignment after reverse()

This commit is contained in:
absidue
2021-11-04 19:05:02 +01:00
parent 4c8162ecdd
commit 28b429f5ed
3 changed files with 7 additions and 11 deletions

View File

@@ -207,7 +207,7 @@ export class Stream {
this.stream.push(c);
});
stream.once('error', async (err) => {
stream.once('error', async () => {
this.cleanup();
await this.retry();
this.timer.reuse();