Skip to content

Commit

Permalink
Null CMCD callbacks on destroy (#6098)
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch committed Jan 10, 2024
1 parent d0a565a commit e7ed554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/cmcd-controller.ts
Expand Up @@ -80,6 +80,8 @@ export default class CMCDController implements ComponentAPI {

// @ts-ignore
this.hls = this.config = this.audioBuffer = this.videoBuffer = null;
// @ts-ignore
this.onWaiting = this.onPlaying = null;
}

private onMediaAttached(
Expand Down

0 comments on commit e7ed554

Please sign in to comment.