Skip to content

fix: prevent memory leak in SimpleAbrManager while destroying - #5149

Merged
theodab merged 4 commits into
shaka-project:mainfrom
valotvince:memleak-abr-manager
Apr 14, 2023
Merged

fix: prevent memory leak in SimpleAbrManager while destroying#5149
theodab merged 4 commits into
shaka-project:mainfrom
valotvince:memleak-abr-manager

Conversation

@valotvince

Copy link
Copy Markdown
Contributor

SimpleAbrManager was not properly destroyed after a call to player.destroy, leading to SimpleAbrManager instances being kept in memory.

This PR aims to resolve it :)

@github-actions

Copy link
Copy Markdown
Contributor

Incremental code coverage: 100.00%

@avelad avelad added this to the v4.4 milestone Apr 13, 2023
@avelad
avelad requested review from joeyparrish and theodab April 13, 2023 13:36
Comment thread externs/network_information.js Outdated
Comment thread lib/abr/simple_abr_manager.js Outdated
Comment thread lib/abr/simple_abr_manager.js Outdated
@theodab
theodab merged commit bbf228c into shaka-project:main Apr 14, 2023
joeyparrish pushed a commit that referenced this pull request Apr 26, 2023
SimpleAbrManager was not properly destroyed after a call to
player.destroy, leading to SimpleAbrManager instances being kept in
memory.

This PR aims to resolve it :)
joeyparrish pushed a commit that referenced this pull request Apr 26, 2023
SimpleAbrManager was not properly destroyed after a call to
player.destroy, leading to SimpleAbrManager instances being kept in
memory.

This PR aims to resolve it :)
@valotvince
valotvince deleted the memleak-abr-manager branch May 2, 2023 08:57
@github-actions github-actions Bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

status: archived Archived and locked; will not be updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants