Skip to content

Fix non-disposed ValueNotifier<_OverlayEntryWidgetState?> memory leak #126100

@polina-c

Description

@polina-c

Is there an existing issue for this?

Steps to reproduce

  1. Open https://github.com/flutter/flutter/blob/master/packages/flutter/test/material/about_test.dart
  2. Convert testWidgets to testWidgetsWithLeakTracking
  3. Run the tests

Parent issue: flutter/devtools#3951

Expected results

Actual results

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: devtoolsDevTools related - suite of performance and debugging toolsa: leak trackingIssues and PRs related to memory leaks detected by leak_trackera: tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions