Unverified Commit a32d1ccd authored by Ferhat's avatar Ferhat Committed by GitHub

[web][upstream] Optimize InactiveElements deactivation (#37712)

parent 4cf1a350
......@@ -1751,7 +1751,7 @@ class _InactiveElements {
}
}
void _deactivateRecursively(Element element) {
static void _deactivateRecursively(Element element) {
assert(element._debugLifecycleState == _ElementLifecycle.active);
element.deactivate();
assert(element._debugLifecycleState == _ElementLifecycle.inactive);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment