shutdown the sourceBuffer in dispose()
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -244,6 +244,9 @@ videojs.Hls.prototype.dispose = function() { | ... | @@ -244,6 +244,9 @@ videojs.Hls.prototype.dispose = function() { |
244 | if (this.playlists) { | 244 | if (this.playlists) { |
245 | this.playlists.dispose(); | 245 | this.playlists.dispose(); |
246 | } | 246 | } |
247 | if (this.sourceBuffer) { | ||
248 | this.sourceBuffer.abort(); | ||
249 | } | ||
247 | videojs.Flash.prototype.dispose.call(this); | 250 | videojs.Flash.prototype.dispose.call(this); |
248 | }; | 251 | }; |
249 | 252 | ... | ... |
-
Please register or sign in to post a comment