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

add MediaPlayer.destroy to free all memory #3432

Merged

Conversation

andrewagain
Copy link
Contributor

Fixes #3431

Adds a destroy method for when the user is completely done with the MediaPlayer and won't be using it again. This is necessary because reset() does not remove all references to the 'singleton instances' in FactoryMaker.

@dsilhavy dsilhavy added this to the 3.2.0 milestone Oct 16, 2020
@dsilhavy dsilhavy self-requested a review October 16, 2020 15:47
@dsilhavy dsilhavy merged commit d77584a into Dash-Industry-Forum:development Oct 22, 2020
maciejtutak pushed a commit to maciejtutak/dash.js that referenced this pull request Mar 1, 2021
dsilhavy pushed a commit that referenced this pull request Mar 2, 2021
…erClass (added in #3432) (#3560)

Co-authored-by: Maciej Tutak <m10584953+maciejtutak@users.noreply.github.com>
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.

reset() does not completely destroy MediaPlayer (memory leak)
2 participants