Index: src/inspector/v8-debugger.cc |
diff --git a/src/inspector/v8-debugger.cc b/src/inspector/v8-debugger.cc |
index 5729fde00a29b4d96fcc13a5b723d81f946fe37d..ddf78f5f8f6ef25911a83b72c8be0449218f3611 100644 |
--- a/src/inspector/v8-debugger.cc |
+++ b/src/inspector/v8-debugger.cc |
@@ -960,6 +960,7 @@ void V8Debugger::setAsyncCallStackDepth(V8DebuggerAgentImpl* agent, int depth) { |
} |
if (m_maxAsyncCallStackDepth == maxAsyncCallStackDepth) return; |
+ // TODO(dgozman): ideally, this should be per context group. |
m_maxAsyncCallStackDepth = maxAsyncCallStackDepth; |
if (!maxAsyncCallStackDepth) allAsyncTasksCanceled(); |
} |