Skip to content

Commit c5fd11d

Browse files
committed
Explicitly call process.exit in the node runner to prevent it from hanging
1 parent 1dce3d0 commit c5fd11d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/execjs/support/node_runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@
2828
this.process = __process__;
2929
print(JSON.stringify(['err', '' + err, err.stack]));
3030
}
31+
__process__.exit(0);
3132
});

0 commit comments

Comments
 (0)