You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use callUserCallback to invoke callback in _wasmWorkerRunPostMessage.
Without this calls to exit/emscripten_force_exit within the callback
don't work as expected (they cause unhandled exception errors).
- Fix `onmessage` handling under node so that the message payload always
arrives as the `data` member of the message.
- Update a few of the wasm workers tests do they actually exit (required
for running tests under node).
@@ -226,9 +232,7 @@ if (ENVIRONMENT_IS_WASM_WORKER
226
232
#if ASSERTIONS
227
233
assert(!ENVIRONMENT_IS_WASM_WORKER,'emscripten_terminate_all_wasm_workers() cannot be called from a Wasm Worker: only the main browser thread has visibility to terminate all Workers!');
0 commit comments