From 37cccd035ae6fc786db41b9bc53b3ad7eb703463 Mon Sep 17 00:00:00 2001 From: ywave620 Date: Fri, 2 Dec 2022 09:52:56 +0800 Subject: [PATCH] process,worker: ensure code after exit() effectless fix typo --- lib/internal/process/per_thread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/process/per_thread.js b/lib/internal/process/per_thread.js index ed1b82d13e77cc..c162d37150ed39 100644 --- a/lib/internal/process/per_thread.js +++ b/lib/internal/process/per_thread.js @@ -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();