Skip to content

Commit

Permalink
Downgrade error message when threads exit with live runtime
Browse files Browse the repository at this point in the history
Fixes: #19036
  • Loading branch information
sbc100 committed Mar 23, 2023
1 parent 7320016 commit 8f3d300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ function handleMessage(e) {
// and let the top level handler propagate it back to the main thread.
throw ex;
}
#if ASSERTIONS
err('Pthread 0x' + Module['_pthread_self']().toString(16) + ' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');
#if RUNTIME_DEBUG
dbg('Pthread 0x' + Module['_pthread_self']().toString(16) + ' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');
#endif
}
} else if (e.data.cmd === 'cancel') { // Main thread is asking for a pthread_cancel() on this thread.
Expand Down

0 comments on commit 8f3d300

Please sign in to comment.