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
- Don't call `exitRuntime()` when `ENVIRONMENT_IS_PTHREAD` is true.
- Remove the early return from `exitRuntime()`.
- Collapse if/else statements in `exit()`.
Copy file name to clipboardExpand all lines: src/worker.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -259,7 +259,7 @@ self.onmessage = (e) => {
259
259
}
260
260
#if ASSERTIONS
261
261
}else{
262
-
// else e == 'unwind', and we should fall through here and keep the pthread alive for asynchronous events.
262
+
// else ex == 'unwind', and we should fall through here and keep the pthread alive for asynchronous events.
263
263
err('Pthread 0x'+Module['_pthread_self']().toString(16)+' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');
0 commit comments