🐛 fix: Premature close

This commit is contained in:
2024-08-17 20:42:25 +07:00
parent dad6510fd4
commit 45a4a9ff64

View File

@@ -376,8 +376,8 @@ export class SeekableStream {
console.debug(`[${this.id}] > Stream destroyed`);
if (!this.timer.isDestroyed()) this.timer.destroy();
if (this.stream) {
//this.stream.push(null);
this.stream.end();
this.stream.push(null);
//this.stream.end();
this.stream.destroy();
}