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() {
if (this.playlists) {
this.playlists.dispose();
}
if (this.sourceBuffer) {
this.sourceBuffer.abort();
}
videojs.Flash.prototype.dispose.call(this);
};
......