Skip to content

Commit

Permalink
update fragment tracker cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kim authored and David Kim committed Dec 8, 2017
1 parent 5b88ad7 commit 12c89ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/audio-stream-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class AudioStreamController extends EventHandler {
if (frag.loader) {
frag.loader.abort();
}
this.fragmentTracker.cancelFragmentLoad(frag);
this.fragCurrent = null;
}
this.fragPrevious = null;
Expand Down
1 change: 1 addition & 0 deletions src/controller/stream-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class StreamController extends EventHandler {
if (frag.loader) {
frag.loader.abort();
}
this.fragmentTracker.cancelFragmentLoad(frag);
this.fragCurrent = null;
}
this.fragPrevious = null;
Expand Down

0 comments on commit 12c89ff

Please sign in to comment.