Skip to content

Commit 79b074c

Browse files
codebytereaddaleax
andauthored
Update src/node.cc
Co-authored-by: Anna Henningsen <[email protected]>
1 parent dc7a376 commit 79b074c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,9 +1085,9 @@ InitializationResult InitializeOncePerProcess(
10851085
V8::SetEntropySource(crypto::EntropySource);
10861086
#endif // HAVE_OPENSSL
10871087
}
1088+
per_process::v8_platform.Initialize(
1089+
static_cast<int>(per_process::cli_options->v8_thread_pool_size));
10881090
if (init_flags & kInitializeV8) {
1089-
per_process::v8_platform.Initialize(
1090-
static_cast<int>(per_process::cli_options->v8_thread_pool_size));
10911091
V8::Initialize();
10921092
}
10931093

0 commit comments

Comments
 (0)