mirror of
https://github.com/video-dev/hls.js.git
synced 2026-06-16 13:34:44 +00:00
Task: do not null inherited logger methods on destroy
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user