Skip to content

Commit

Permalink
Synchronous call should be synchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoopa authored and xzyfer committed Mar 17, 2018
1 parent b5c73ac commit ad00d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/callback_bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ T CallbackBridge<T, L>::operator()(std::vector<void*> argv) {
argv_v8.push_back(Nan::New(wrapper));

return this->post_process_return_value(
this->callback->Call(argv_v8.size(), &argv_v8[0])
Nan::Call(*callback, argv_v8.size(), &argv_v8[0]).ToLocalChecked()
);
} else {
/*
Expand Down

0 comments on commit ad00d8b

Please sign in to comment.