★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/2565ff0785Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
src: elevate namespaces for repeated entities
PR-URL: #24475
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
SarathGovind authored and rvagg committed Nov 28, 2018
1 parent f19dae3 commit 2565ff078571e95fe1991507d4ac92b8dd06267a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/inspector_js_api.cc
@@ -224,9 +224,9 @@ static void RegisterAsyncHookWrapper(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args);

CHECK(args[0]->IsFunction());
v8::Local<v8::Function> enable_function = args[0].As<Function>();
Local<Function> enable_function = args[0].As<Function>();
CHECK(args[1]->IsFunction());
v8::Local<v8::Function> disable_function = args[1].As<Function>();
Local<Function> disable_function = args[1].As<Function>();
env->inspector_agent()->RegisterAsyncHook(env->isolate(),
enable_function, disable_function);
}

0 comments on commit 2565ff0

Please sign in to comment.