-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Panic when closing a worker immediately after postMessage #5334
Comments
|
|
This doesn't appear to be related to postMessage // runnter.ts
new Worker(new URL('worker-test.ts', import.meta.url).href, { type: 'module' })
// worker-test.ts
console.log('hello from worker')
self.close()
|
I just wanted to add that this may relate to #7620. I didn't check the panic log for the other one but I felt it best to just cross reference them for future people. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works in the browser. Postponing the close until the next tick makes it work in Deno.
The text was updated successfully, but these errors were encountered: