Skip to content

Commit

Permalink
Fixed error on destroying the instance of Hls (video-dev#2177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Korilakkuma authored and John Bartos committed Mar 14, 2019
1 parent 8a244d1 commit e3287e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/fragment-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export class FragmentTracker extends EventHandler {
}

destroy () {
this.fragments = null;
this.timeRanges = null;
this.fragments = Object.create(null);
this.timeRanges = Object.create(null);
this.config = null;
EventHandler.prototype.destroy.call(this);
super.destroy();
Expand Down

0 comments on commit e3287e6

Please sign in to comment.