a5d784b5 by Benjamin Peterson Committed by David LaPalomento

shutdown the sourceBuffer in dispose()

1 parent 0337945d
...@@ -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
......