• Alex Isaienko's avatar
    InheritedElement.removeDependent() (#129210) · b5fb6652
    Alex Isaienko authored
    Call the `dependency.removeDependent(this)` instead of `dependency._dependents.remove(this)` inside the `Element.deactivate()`. This allows `InheritedElements` to know when they can release resources associated with a given dependent `Element`.
    
    Fixes #129207
    b5fb6652
framework.dart 289 KB