We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95f089 commit c75ca97Copy full SHA for c75ca97
src/postamble_minimal.js
@@ -54,14 +54,7 @@ function initRuntime(wasmExports) {
54
#endif
55
56
#if PTHREADS
57
- if (ENVIRONMENT_IS_PTHREAD) {
58
- // Export needed variables that worker.js needs to Module.
59
- Module['HEAPU32'] = HEAPU32;
60
- Module['__emscripten_thread_init'] = __emscripten_thread_init;
61
- Module['__emscripten_thread_exit'] = __emscripten_thread_exit;
62
- Module['_pthread_self'] = _pthread_self;
63
- return;
64
- }
+ if (ENVIRONMENT_IS_PTHREAD) return
65
66
67
#if WASM_WORKERS
0 commit comments