Skip to content

Commit

Permalink
src: allow preventing InitializeInspector in env
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Apr 27, 2022
1 parent 9ef422f commit 8dfa95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/common/node_bindings.cc
Expand Up @@ -480,7 +480,7 @@ node::Environment* NodeBindings::CreateEnvironment(
// in renderer processes this should be blink. We need to tell Node.js
// not to register its handler (overriding blinks) in non-browser processes.
flags |= node::EnvironmentFlags::kNoRegisterESMLoader |
node::EnvironmentFlags::kNoInitializeInspector;
node::EnvironmentFlags::kNoCreateInspector;
}

if (!electron::fuses::IsNodeCliInspectEnabled()) {
Expand Down

0 comments on commit 8dfa95b

Please sign in to comment.