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 f4c49eb commit 2831f73Copy full SHA for 2831f73
src/library_pthread.js
@@ -991,10 +991,6 @@ var LibraryPThread = {
991
if (!ENVIRONMENT_IS_PTHREAD) _exit(status);
992
else PThread.threadExit(status);
993
// pthread_exit is marked noReturn, so we must not return from it.
994
- if (ENVIRONMENT_IS_NODE) {
995
- // set the exit code while letting the process exit gracefully
996
- process.exitCode = status;
997
- }
998
throw 'unwind';
999
},
1000
0 commit comments