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(preload): Fix memory leak with preload feature #6894

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

theodab
Copy link
Collaborator

@theodab theodab commented Jun 24, 2024

There was a memory leak where the segments that the PreloadManager prefetched did not get cleaned up, after the player unloads. This fixes that memory leak.

Fixes #6883

There was a memory leak where the segments that the PreloadManager
prefetched did not get cleaned up, after the player unloads.
This fixes that memory leak.

Fixes shaka-project#6883
@theodab theodab added type: bug Something isn't working correctly type: performance A performance issue labels Jun 24, 2024
@avelad avelad added the priority: P1 Big impact or workaround impractical; resolve before feature release label Jun 24, 2024
@avelad avelad added this to the v4.10 milestone Jun 24, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

@avelad avelad merged commit 88d2a02 into shaka-project:main Jun 24, 2024
17 of 18 checks passed
@theodab theodab deleted the preloadMemoryLeakBranch branch June 25, 2024 06:33
avelad pushed a commit that referenced this pull request Jun 25, 2024
There was a memory leak where the segments that the PreloadManager
prefetched did not get cleaned up, after the player unloads. This fixes
that memory leak.

Fixes #6883
avelad pushed a commit that referenced this pull request Jun 25, 2024
There was a memory leak where the segments that the PreloadManager
prefetched did not get cleaned up, after the player unloads. This fixes
that memory leak.

Fixes #6883
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P1 Big impact or workaround impractical; resolve before feature release type: bug Something isn't working correctly type: performance A performance issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leaked while using player.preload() feature
3 participants