-
Notifications
You must be signed in to change notification settings - Fork 35
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
non-shared web-worker return references window #61
Comments
This needs a reproduction case or in just more information. How did you conclude that |
Could be:
Maybe this was not problem with shared workers as they didn't try to open WS connection or something? |
Daraen, Could also be for shared worker. My test for shared worker terminates the worker from the client. Normally I would not run into this case, as workers normally wait for messages. I was just testing some new code and had disabled a bunch of code. |
Martin Klepsch, https://github.com/aatree/aademos/tree/reload-tworker-failure/tworker is a branch in aademos where a minimal tworker fails. How did I know the failure was in window.location.protocol? Because I opened the chrom console, and clicked on the source. This is what was highlighted. |
Daraen, My error, this seems to have nothing to do with the exit of the webworker. Its just async as the code you referenced showed. |
I think the latest changes should fix this: Boot-reload no longer tries to access |
A non-shared web worker does not have a window. But when such a web worker returns, a reference to window is made when using boot-reload. Specifically, window.location.protocol is referenced.
The text was updated successfully, but these errors were encountered: