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: prevent memory leak in SimpleAbrManager while destroying #5149

Merged
merged 4 commits into from
Apr 14, 2023

Conversation

valotvince
Copy link
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
Contributor

Incremental code coverage: 100.00%

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Apr 13, 2023
@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
externs/network_information.js Outdated Show resolved Hide resolved
lib/abr/simple_abr_manager.js Outdated Show resolved Hide resolved
lib/abr/simple_abr_manager.js Outdated Show resolved Hide resolved
@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
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants