We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a66744 commit 55818fdCopy full SHA for 55818fd
1 file changed
shell/browser/node_debugger.cc
@@ -30,10 +30,10 @@ void NodeDebugger::Start() {
30
// DebugOptions will already have been set by ProcessGlobalArgs,
31
// so just pull the ones from there to pass to the InspectorAgent
32
const auto debug_options = env_->options()->debug_options();
33
- if (inspector->Start(
34
- "" /* path */, debug_options,
35
- std::make_shared<node::HostPort>(debug_options.host_port),
36
- true /* is_main */))
+ if (inspector->Start("" /* path */, debug_options,
+ std::make_shared<node::ExclusiveAccess<node::HostPort>>(
+ debug_options.host_port),
+ true /* is_main */))
37
DCHECK(env_->inspector_agent()->IsListening());
38
}
39
0 commit comments