Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! src: remove calls to deprecated v8 functions (NumberValue)
  • Loading branch information
ryzokuken committed Aug 4, 2018
commit 8a5affd01fe49ee505ed1fab69a7a185928f73c2
2 changes: 1 addition & 1 deletion src/async_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void AsyncWrap::QueueDestroyAsyncId(const FunctionCallbackInfo<Value>& args) {
CHECK(args[0]->IsNumber());
AsyncWrap::EmitDestroy(
Environment::GetCurrent(args),
args[0]->NumberValue(args.GetIsolate()->GetCurrentContext()).ToChecked());
args[0].As<Number>()->Value());
}

void AsyncWrap::AddWrapMethods(Environment* env,
Expand Down