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 issue when reloading while a reload is pending. #1528

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

peaBerberian
Copy link
Collaborator

I noticed of an issue with the MULTI_THREAD feature, where an application would receive a CancellationError in the very rare (possible right now?) occurrence where we're reloading while a reload operation is already pending.

We don't ever want to leak CancellationError which is just an internal mechanism. I thought that we can just ignore that one.

NOTE: This was seen after testing #1523 on some devices

@peaBerberian peaBerberian added bug This is an RxPlayer issue (unexpected result when comparing to the API) Priority: 1 (High) This issue or PR has a high priority. MultiThread Concerns specifically the multithreaded mode of the RxPlayer labels Sep 3, 2024
@peaBerberian peaBerberian added this to the 4.2.0 milestone Sep 4, 2024
I noticed of an issue with the `MULTI_THREAD` feature, where an
application would receive a `CancellationError` in the very rare
(possible right now?) occurrence where we're reloading while a reload
operation is already pending.

We don't ever want to leak `CancellationError` which is just an internal
mechanism. I thought that we can just ignore that one.
Copy link
Collaborator

@Florent-Bouisset Florent-Bouisset left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice, I have seen recently this error message "cancellation Error" on a device

@peaBerberian
Copy link
Collaborator Author

👍 nice, I have seen recently this error message "cancellation Error" on a device

Hoping this is the same one, we should never have those visible in the API

@peaBerberian peaBerberian merged commit cdb1ee0 into dev Sep 5, 2024
6 checks passed
@Florent-Bouisset
Copy link
Collaborator

👍 nice, I have seen recently this error message "cancellation Error" on a device

Hoping this is the same one, we should never have those visible in the API

Yes it was on the TV you were remotely debugging I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is an RxPlayer issue (unexpected result when comparing to the API) MultiThread Concerns specifically the multithreaded mode of the RxPlayer Priority: 1 (High) This issue or PR has a high priority.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants