Skip to content

Commit 5bf6a3c

Browse files
committed
process,worker: ensure code after exit() effectless
fix typo
1 parent de62467 commit 5bf6a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/process/per_thread.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function wrapProcessMethods(binding) {
203203
// check to throw the termination exception. Because v8 performs
204204
// stack guard check upon every function call, we give it a chance.
205205
//
206-
// Without this, user code followed by `process.exit()` would take effect.
206+
// Without this, user code after `process.exit()` would take effect.
207207
// test/parallel/test-worker-voluntarily-exit-followed-by-addition.js
208208
// test/parallel/test-worker-voluntarily-exit-followed-by-throw.js
209209
nop();

0 commit comments

Comments
 (0)