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: Fix rare exception after StreamingEngine teardown #4830

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

joeyparrish
Copy link
Member

In some cases, the timing of certain events can cause a seek callback to fire on StreamingEngine after it has been destroyed. This checks for that condition to avoid an exception.

Closes #4813

In some cases, the timing of certain events can cause a seek callback
to fire on StreamingEngine after it has been destroyed.  This checks
for that condition to avoid an exception.

Closes shaka-project#4813
@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Dec 13, 2022
@avelad avelad modified the milestones: Backlog, v4.4 Dec 13, 2022
@github-actions
Copy link
Contributor

Incremental code coverage: 75.00%

@joeyparrish
Copy link
Member Author

375 test runs in a row passed. I had planned 400, but I'm running out of time to finish cherry-picking and preparing releases, so I'm going to go ahead and merge the fix now.

@joeyparrish joeyparrish merged commit 234beef into shaka-project:main Dec 14, 2022
@joeyparrish joeyparrish deleted the fix-rare-test-exception branch December 14, 2022 22:34
joeyparrish added a commit that referenced this pull request Dec 14, 2022
In some cases, the timing of certain events can cause a seek callback to
fire on StreamingEngine after it has been destroyed. This checks for
that condition to avoid an exception.

Closes #4813
joeyparrish added a commit that referenced this pull request Dec 14, 2022
In some cases, the timing of certain events can cause a seek callback to
fire on StreamingEngine after it has been destroyed. This checks for
that condition to avoid an exception.

Closes #4813
joeyparrish added a commit that referenced this pull request Dec 14, 2022
In some cases, the timing of certain events can cause a seek callback to
fire on StreamingEngine after it has been destroyed. This checks for
that condition to avoid an exception.

Closes #4813
joeyparrish added a commit that referenced this pull request Dec 14, 2022
In some cases, the timing of certain events can cause a seek callback to
fire on StreamingEngine after it has been destroyed. This checks for
that condition to avoid an exception.

Closes #4813
Robloche pushed a commit to Robloche/shaka-player that referenced this pull request Feb 8, 2023
…#4830)

In some cases, the timing of certain events can cause a seek callback to
fire on StreamingEngine after it has been destroyed. This checks for
that condition to avoid an exception.

Closes shaka-project#4813
@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.

Rare test failure
3 participants