Skip to content

add MediaPlayer.destroy to free all memory - #3432

Merged
dsilhavy merged 2 commits into
Dash-Industry-Forum:developmentfrom
andrewagain:factorymaker-memleak
Oct 22, 2020
Merged

dsilhavy merged 2 commits into
Dash-Industry-Forum:developmentfrom
andrewagain:factorymaker-memleak

Conversation

@andrewagain

Copy link
Copy Markdown
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