We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b6df1c commit 368746dCopy full SHA for 368746d
1 file changed
src/api/callback.cc
@@ -111,12 +111,14 @@ void InternalCallbackScope::Close() {
111
MicrotasksScope::PerformCheckpoint(env_->isolate());
112
}
113
114
+#if 0
115
// Make sure the stack unwound properly. If there are nested MakeCallback's
116
// then it should return early and not reach this code.
117
if (env_->async_hooks()->fields()[AsyncHooks::kTotals]) {
118
CHECK_EQ(env_->execution_async_id(), 0);
119
CHECK_EQ(env_->trigger_async_id(), 0);
120
121
+#endif
122
123
if (!tick_info->has_tick_scheduled() && !tick_info->has_rejection_to_warn()) {
124
return;
0 commit comments