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 540853c commit c3024adCopy full SHA for c3024ad
src/api/callback.cc
@@ -157,7 +157,7 @@ MaybeLocal<Value> InternalMakeCallback(Environment* env,
157
158
Local<Function> domain_cb = env->domain_callback();
159
MaybeLocal<Value> ret;
160
- if (asyncContext.async_id != 0 || domain_cb.IsEmpty() || recv.IsEmpty()) {
+ if (asyncContext.async_id != 0 || domain_cb.IsEmpty()) {
161
ret = callback->Call(env->context(), recv, argc, argv);
162
} else {
163
std::vector<Local<Value>> args(1 + argc);
0 commit comments