Skip to content

Commit 8f3d300

Browse files
committed
Downgrade error message when threads exit with live runtime
Fixes: #19036
1 parent 7320016 commit 8f3d300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/worker.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ function handleMessage(e) {
249249
// and let the top level handler propagate it back to the main thread.
250250
throw ex;
251251
}
252-
#if ASSERTIONS
253-
err('Pthread 0x' + Module['_pthread_self']().toString(16) + ' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');
252+
#if RUNTIME_DEBUG
253+
dbg('Pthread 0x' + Module['_pthread_self']().toString(16) + ' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');
254254
#endif
255255
}
256256
} else if (e.data.cmd === 'cancel') { // Main thread is asking for a pthread_cancel() on this thread.

0 commit comments

Comments
 (0)