Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on TextPainter #150

Open
tmpsantos opened this issue Oct 2, 2024 · 0 comments · May be fixed by #149
Open

Memory leak on TextPainter #150

tmpsantos opened this issue Oct 2, 2024 · 0 comments · May be fixed by #149
Labels
bug Something isn't working

Comments

@tmpsantos
Copy link

Running the unit tests with leak tracker enabled will fail because TextPainter is not being disposed. Fix on #149

  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: 140
              objects:
                TextPainter:
                  test: Group sync
                  identityHashCode: 360054994
                TextPainter:
                  test: Group sync
                  identityHashCode: 134151191
                TextPainter:
                  test: Group sync
                  identityHashCode: 490481355
                TextPainter:
                  test: Group sync
                  identityHashCode: 494110995
                TextPainter:
                  test: Group sync
                  identityHashCode: 664187944
                TextPainter:
                  test: Group sync
                  identityHashCode: 689149618
@tmpsantos tmpsantos added the bug Something isn't working label Oct 2, 2024
@tmpsantos tmpsantos linked a pull request Oct 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant