diff --git a/src/api/callback.cc b/src/api/callback.cc index 355986b981a381..5e3fd6590332ec 100644 --- a/src/api/callback.cc +++ b/src/api/callback.cc @@ -157,7 +157,7 @@ MaybeLocal InternalMakeCallback(Environment* env, Local domain_cb = env->domain_callback(); MaybeLocal ret; - if (asyncContext.async_id != 0 || domain_cb.IsEmpty() || recv.IsEmpty()) { + if (asyncContext.async_id != 0 || domain_cb.IsEmpty()) { ret = callback->Call(env->context(), recv, argc, argv); } else { std::vector> args(1 + argc);