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

Worker: delay object URL clean up #1430

Merged
merged 1 commit into from
May 28, 2020
Merged

Conversation

sohkai
Copy link
Contributor

@sohkai sohkai commented May 28, 2020

Chrome 83+ appears to have made starting workers reliant on an object URL being available.

This must be an asynchronous race condition with the web worker now being starting asynchronously and sharing memory for the object URL. Revoking the object URL synchronously results in an 100% failure rate; using a setTimeout(0) results in it only failing some times.

@auto-assign auto-assign bot requested review from bpierre and Evalir May 28, 2020 19:33
Copy link
Contributor

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

This is an interesting bug.

@sohkai sohkai merged commit a49f496 into master May 28, 2020
@sohkai sohkai deleted the delay-webworker-url-cleanup branch May 28, 2020 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants