Fix deprecated node::MakeCallback call
This commit is contained in:
parent
593ae7bf0e
commit
b2f3625eaa
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ v8::Local<v8::Value> CallMethodWithArgs(v8::Isolate* isolate,
|
|||
// Use node::MakeCallback to call the callback, and it will also run pending
|
||||
// tasks in Node.js.
|
||||
return node::MakeCallback(isolate, obj, method, args->size(), &args->front(),
|
||||
0, 0).ToLocalChecked();
|
||||
{0, 0}).ToLocalChecked();
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue