[browser][mt] JSWebWorker crashes the runtime #102010
Labels
arch-wasm
WebAssembly architecture
area-System.Runtime.InteropServices.JavaScript
os-browser
Browser variant of arch-wasm
Milestone
Description
Upcoming JSWebWorker API crashes the runtime when used.
Reproduction Steps
Expected behavior
JSWebWorker spawns a WebWorker that is allowed to await on tasks.
Actual behavior
JSWebWorker instance gets finalized and crashes the runtime
Regression?
No response
Known Workarounds
Manually call JSHostImplementation.SetHasExternalEventLoop and JSSynchronizationContext.InstallWebWorkerInterop from user code
Configuration
.NET 9 nightlies, browser-wasm, MT
Other information
@pavelsavara
The text was updated successfully, but these errors were encountered: