Skip to content

Leak tracking is flacky around tap down/up. #136132

@polina-c

Description

@polina-c

Failure: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20framework_tests_libraries/13763/overview

If gesture is started, it should be finished to release resources:

final TestGesture gesture = await tester.startGesture(
...
// Finish gesture to release resources.
await tester.pumpAndSettle();
await gesture.up();
await tester.pumpAndSettle();

If it is not finished, ValueNotifier<_OverlayEntryWidgetState?> will not be disposed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: leak trackingIssues and PRs related to memory leaks detected by leak_trackerframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions