We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b615a commit a470a67Copy full SHA for a470a67
1 file changed
generate/templates/manual/src/promise_completion.cc
@@ -78,7 +78,7 @@ v8::Local<v8::Value> PromiseCompletion::Bind(Nan::Persistent<v8::Function> &func
78
79
v8::Local<v8::Value> argv[1] = { object };
80
81
- return scope.Escape(Nan::Call(bind, Nan::To<v8::Object>(Nan::New(function)).ToLocalChecked(), 1, argv));
+ return scope.Escape(Nan::Call(bind, Nan::To<v8::Object>(Nan::New(function)).ToLocalChecked(), 1, argv).ToLocalChecked());
82
}
83
84
// calls the callback stored in the PromiseCompletion, passing the baton that
0 commit comments