Skip to content

Commit

Permalink
Explicitly call process.exit in the node runner to prevent it from ha…
Browse files Browse the repository at this point in the history
…nging
  • Loading branch information
byroot committed May 7, 2021
1 parent 1dce3d0 commit c5fd11d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/execjs/support/node_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
this.process = __process__;
print(JSON.stringify(['err', '' + err, err.stack]));
}
__process__.exit(0);
});

0 comments on commit c5fd11d

Please sign in to comment.