Memory Leak: AnnotatedRegionLayer<SystemUiOverlayStyle> is not disposed when testing with _TestRecordingCanvasMatcher #134661
Labels
a: leak tracking
Issues and PRs related to memory leaks detected by leak_tracker
a: tests
"flutter test", flutter_test, or one of our tests
found in release: 3.14
Found to occur in 3.14
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
r: fixed
Issue is closed as already fixed in a newer version
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Is there an existing issue for this?
PR which marks this leak: #134663
Steps to reproduce
It happens that
AnnotatedRegionLayer<SystemUiOverlayStyle>
is not disposed when testing with_TestRecordingCanvasMatcher
.paintsExactlyCountTimes
matcherleak_tracker
detects leak:Output:
paintsExactlyCountTimes
matcherleak_tracker
does not detect leak:Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: