mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump node to v16.4.0 (main) (#29699)
This commit is contained in:
committed by
GitHub
parent
da2baabb96
commit
e4807ac020
@@ -178,8 +178,9 @@ int NodeMain(int argc, char* argv[]) {
|
||||
if (flags_exit_code != 0)
|
||||
exit(flags_exit_code);
|
||||
|
||||
node::InitializationSettingsFlags flags = node::kRunPlatformInit;
|
||||
node::InitializationResult result =
|
||||
node::InitializeOncePerProcess(argc, argv);
|
||||
node::InitializeOncePerProcess(argc, argv, flags);
|
||||
|
||||
if (result.early_return)
|
||||
exit(result.exit_code);
|
||||
|
||||
Reference in New Issue
Block a user