Task: do not null inherited logger methods on destroy

This commit is contained in:
Rob Walch
2026-05-20 14:58:37 -07:00
committed by Rob Walch
parent eb6b59e64e
commit 842c338ce9
3 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export default class BasePlaylistController
public destroy() {
this.clearTimer();
// @ts-ignore
this.hls = this.log = this.warn = null;
this.hls = null;
}
private clearTimer() {
+4 -8
View File
@@ -518,14 +518,10 @@ export default class BaseStreamController
this.decrypter.destroy();
}
this.hls =
this.log =
this.warn =
this.decrypter =
this.keyLoader =
this.fragmentLoader =
this.fragmentTracker =
null as any;
//@ts-ignore
this.hls = this.decrypter = this.keyLoader = null;
//@ts-ignore
this.fragmentLoader = this.fragmentTracker = null;
super.onHandlerDestroyed();
}
+1 -1
View File
@@ -236,7 +236,7 @@ export default class InterstitialsController
this.manager =
null;
// @ts-ignore
this.hls = this.HlsPlayerClass = this.log = null;
this.hls = this.HlsPlayerClass = null;
// @ts-ignore
this.assetListLoader = null;
// @ts-ignore