mirror of
https://github.com/YuzuZensai/NekoMelody.git
synced 2026-01-06 04:33:21 +00:00
🐛 fix: Premature close
This commit is contained in:
@@ -376,8 +376,8 @@ export class SeekableStream {
|
|||||||
console.debug(`[${this.id}] > Stream destroyed`);
|
console.debug(`[${this.id}] > Stream destroyed`);
|
||||||
if (!this.timer.isDestroyed()) this.timer.destroy();
|
if (!this.timer.isDestroyed()) this.timer.destroy();
|
||||||
if (this.stream) {
|
if (this.stream) {
|
||||||
//this.stream.push(null);
|
this.stream.push(null);
|
||||||
this.stream.end();
|
//this.stream.end();
|
||||||
this.stream.destroy();
|
this.stream.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user