Skip to content

FocusManager related leak. #148985

Closed
Closed

Description

@polina-c

PR #148612 introduced a leak to existing test "Material3 - Barriers show when using PageRouteBuilder".

To repro run:

flutter test test/widgets/page_route_builder_test.dart --dart-define LEAK_TRACKING=true

The bot is back to green, because PR is reverted:

Screenshot 2024-05-23 at 11 30 18 AM

Activity

  1. polina-c commented on May 23, 2024

    @polina-c
    ContributorAuthor
    Expected: leak free
        Actual: <Instance of 'Leaks'>
         Which: contains leaks:
                # The text is generated by leak_tracker.
                # For leak troubleshooting tips open:
                # https://github.com/dart-lang/leak_tracker/blob/main/doc/TROUBLESHOOT.md
                notDisposed:
                  total: 541
                  objects:
                    StatelessElement:
                      test: Material3 - Barriers show when using PageRouteBuilder
                      identityHashCode: 380143882
                    StatefulElement:
                      test: Material3 - Barriers show when using PageRouteBuilder
                      identityHashCode: 505076395
                    _MaterialAppState:
                      test: Material3 - Barriers show when using PageRouteBuilder
                      identityHashCode: 359752437
                    HeroController:
                      test: Material3 - Barriers show when using PageRouteBuilder
                      identityHashCode: 145017926
    ...
    
  2. polina-c commented on May 23, 2024

    @polina-c
    ContributorAuthor
  3. polina-c commented on May 23, 2024

    @polina-c
    ContributorAuthor

    Closing for now, because the PR is reverted.

  4. added
    a: leak trackingIssues and PRs related to memory leaks detected by leak_tracker
    on May 23, 2024
  5. github-actions commented on Jun 6, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: leak trackingIssues and PRs related to memory leaks detected by leak_tracker

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions