diff --git a/play-dl/YouTube/classes/LiveStream.ts b/play-dl/YouTube/classes/LiveStream.ts index 5f31d89..0a2510d 100644 --- a/play-dl/YouTube/classes/LiveStream.ts +++ b/play-dl/YouTube/classes/LiveStream.ts @@ -177,6 +177,7 @@ export class Stream { private async loop() { if (this.stream.destroyed) { + this.timer.destroy() this.cleanup(); return; }