chore: bump node to v12.16.2 (master) (#23057)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Electron Bot 2020-04-14 09:59:03 -07:00 committed by GitHub
parent 701c5c90fa
commit fdf7e288bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 164 additions and 381 deletions

View file

@ -30,10 +30,10 @@ void NodeDebugger::Start() {
// DebugOptions will already have been set by ProcessGlobalArgs,
// so just pull the ones from there to pass to the InspectorAgent
const auto debug_options = env_->options()->debug_options();
if (inspector->Start(
"" /* path */, debug_options,
std::make_shared<node::HostPort>(debug_options.host_port),
true /* is_main */))
if (inspector->Start("" /* path */, debug_options,
std::make_shared<node::ExclusiveAccess<node::HostPort>>(
debug_options.host_port),
true /* is_main */))
DCHECK(env_->inspector_agent()->IsListening());
}