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: Release region timeline when unloading #4871

Merged
merged 1 commit into from
Jan 7, 2023

Conversation

theodab
Copy link
Collaborator

@theodab theodab commented Jan 6, 2023

This stops the timer inside region timeline from staying in memory, even after the player is destroyed.

Closes #4850

This stops the timer inside region timeline from staying in memory,
even after the player is destroyed.

Closes shaka-project#4850
@theodab theodab added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release labels Jan 6, 2023
@theodab
Copy link
Collaborator Author

theodab commented Jan 6, 2023

I spent way too long trying to make a good, future-proof integration test that would detect if we had any other timers endlessly firing off after destroying the player.
I think I almost have it. I'll give it another look in the morning.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Incremental code coverage: 100.00%

@theodab theodab merged commit a236180 into shaka-project:main Jan 7, 2023
@theodab theodab deleted the timerBranch branch January 7, 2023 01:35
joeyparrish pushed a commit that referenced this pull request Jan 13, 2023
This stops the timer inside region timeline from staying in memory, even after the player is destroyed.

Closes #4850
joeyparrish pushed a commit that referenced this pull request Jan 13, 2023
This stops the timer inside region timeline from staying in memory, even after the player is destroyed.

Closes #4850
joeyparrish pushed a commit that referenced this pull request Jan 13, 2023
This stops the timer inside region timeline from staying in memory, even after the player is destroyed.

Closes #4850
joeyparrish pushed a commit that referenced this pull request Jan 13, 2023
This stops the timer inside region timeline from staying in memory, even after the player is destroyed.

Closes #4850
Robloche pushed a commit to Robloche/shaka-player that referenced this pull request Feb 8, 2023
This stops the timer inside region timeline from staying in memory, even after the player is destroyed.

Closes shaka-project#4850
@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: P1 Big impact or workaround impractical; resolve before feature release 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.

Tick timer keeps running after calling destroy
3 participants