Skip to content

Commit c3647ef

Browse files
committed
comments
1 parent e46a1a4 commit c3647ef

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/audio_worklet.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ class BootstrapMessages extends AudioWorkletProcessor {
172172
// conflict with user messages
173173
messagePort.postMessage({'_wsc': d.callback, args: [d.contextHandle, 1/*EM_TRUE*/, d.userData] });
174174
} else if (d['_wsc']) {
175-
// Wait for the Wasm module to be instantiated.
176-
await readyPromise;
177175
getWasmTableEntry(d['_wsc'])(...d.args);
178176
};
179177
}

src/lib/libcore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ addToLibrary({
119119
var msg = `program exited (with status: ${status}), but keepRuntimeAlive() is set (counter=${runtimeKeepaliveCounter}) due to an async operation, so halting execution but not exiting the runtime or preventing further async execution (you can use emscripten_force_exit, if you want to force a true shutdown)`;
120120
#if USE_READY_PROMISE
121121
readyPromiseReject?.(msg);
122-
#endif // MODULARIZE
122+
#endif
123123
err(msg);
124124
}
125125
#endif // ASSERTIONS

0 commit comments

Comments
 (0)