-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Changing mode causes "Uncaught " exceptions from Worker #4410
Comments
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
This issue is still relevant |
Hello @andrewnester , any update on this? It is labelled with |
Looks like browsers throw error if worker is terminated during importScript. |
@nightwing yes, that would help. |
Fixed with #5182 |
Hello,
When I try to change the mode several times fast there is error with message "Uncaught " in Chrome.
To reproduce:
This looks like a race condition. When calling
setMode(...)
the previous mode already triggered network request, which is cancelled.Is there any way to avoid this, or any possible workaround?
Best regards,
Petar
The text was updated successfully, but these errors were encountered: