From 45a4a9ff64489cbee008743b75950426b7172429 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sat, 17 Aug 2024 20:42:25 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Premature=20close?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/SeekableStream.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/SeekableStream.ts b/src/utils/SeekableStream.ts index ee4f44c..6e9422c 100644 --- a/src/utils/SeekableStream.ts +++ b/src/utils/SeekableStream.ts @@ -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(); }