Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add dispose functions and fix memory leaks #643 for 1.x #734

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

brandonocasey
Copy link
Contributor

#643 for 1.x

@@ -340,4 +340,17 @@ export default class HtmlMediaSource extends videojs.EventTarget {
this.sourceBuffers.push(buffer);
return buffer;
}

dispose() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the virtual-source-buffer dispose are the only changes from master as they did not exist.

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests are passing, just link to travis is stuck

@brandonocasey brandonocasey merged commit 89ab859 into 1.x Feb 12, 2020
@brandonocasey brandonocasey deleted the 1.x-fix/dispose-memory-leaks branch February 19, 2020 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants