Skip to content

Commit

Permalink
process,worker: ensure code after exit() effectless
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
ywave620 committed Nov 28, 2022
1 parent de62467 commit 5bf6a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/process/per_thread.js
Expand Up @@ -203,7 +203,7 @@ function wrapProcessMethods(binding) {
// check to throw the termination exception. Because v8 performs
// stack guard check upon every function call, we give it a chance.
//
// Without this, user code followed by `process.exit()` would take effect.
// Without this, user code after `process.exit()` would take effect.
// test/parallel/test-worker-voluntarily-exit-followed-by-addition.js
// test/parallel/test-worker-voluntarily-exit-followed-by-throw.js
nop();
Expand Down

0 comments on commit 5bf6a3c

Please sign in to comment.