diff --git a/src/api/callback.cc b/src/api/callback.cc index 355986b981a..1babe126090 100644 --- a/src/api/callback.cc +++ b/src/api/callback.cc @@ -111,12 +111,14 @@ void InternalCallbackScope::Close() { MicrotasksScope::PerformCheckpoint(env_->isolate()); } +#if 0 // Make sure the stack unwound properly. If there are nested MakeCallback's // then it should return early and not reach this code. if (env_->async_hooks()->fields()[AsyncHooks::kTotals]) { CHECK_EQ(env_->execution_async_id(), 0); CHECK_EQ(env_->trigger_async_id(), 0); } +#endif if (!tick_info->has_tick_scheduled() && !tick_info->has_rejection_to_warn()) { return;