Fixed Stream writing null values in seek.

This commit is contained in:
killer069
2021-12-20 15:08:46 +05:30
parent 7b662923f3
commit 324b415547
2 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ export class SeekStream {
stream.on('end', () => {
if (end >= this.content_length) {
this.timer.destroy();
this.stream.write(null);
this.stream.end();
this.cleanup();
}
});