dispose() {
    this.masterPlaylistLoader_.dispose();
    this.audioTracks_.forEach((track) => {
      track.dispose();
    });
    this.audioTracks_.length = 0;
    this.mainSegmentLoader_.dispose();
    this.audioSegmentLoader_.dispose();
  }
/**
   * dispose of the MasterPlaylistController and everything
   * that it controls
   */
dispose of the MasterPlaylistController and everything
that it controls
dispose of the MasterPlaylistController and everything that it controls
dispose() {
    this.masterPlaylistLoader_.dispose();
    this.audioTracks_.forEach((track) => {
      track.dispose();
    });
    this.audioTracks_.length = 0;
    this.mainSegmentLoader_.dispose();
    this.audioSegmentLoader_.dispose();
  }
dispose ( ) { this . masterPlaylistLoader_ . dispose ( ) ; this . audioTracks_ . forEach ( ( track ) => { track . dispose ( ) ; } ) ; this . audioTracks_ . length = 0 ; this . mainSegmentLoader_ . dispose ( ) ; this . audioSegmentLoader_ . dispose ( ) ; }
dispose of the MasterPlaylistController and everything
 that it controls
dispose of the MasterPlaylistController and everything that it controls