Skip to content

Commit 2831f73

Browse files
committed
Incorporate feedback
1 parent f4c49eb commit 2831f73

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/library_pthread.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -991,10 +991,6 @@ var LibraryPThread = {
991991
if (!ENVIRONMENT_IS_PTHREAD) _exit(status);
992992
else PThread.threadExit(status);
993993
// 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-
}
998994
throw 'unwind';
999995
},
1000996

0 commit comments

Comments
 (0)