Conversation
This reverts commit 634975c.
…_selection_theme
| await tester.pumpAndSettle(); | ||
| }); | ||
| }, | ||
| // TODO(polina-c): remove after widgets/app.dart/defaultActions stops holding objects. |
There was a problem hiding this comment.
defaultActions is a static that is supposed to live for the duration of the application. So its expected to never be GCed and therefore is not a leak.
There was a problem hiding this comment.
defaultActions holds some disposed objects from GC, that is leak. Some object on retaining path should release the references.
There was a problem hiding this comment.
What's the disposed object? From what I can tell, the objects in the defaultActions map are not disposable.
There was a problem hiding this comment.
The disposed object is ValueNotifier<_OverlayEntryWidgetState?>.
Full retaining path is looong and is linked to the issue: #130354
There was a problem hiding this comment.
This PR just test covers three tests for leaks.
I suggest to merge this PR and move the discussion if the detected leak is true or false positive, to the issue.
…_selection_theme
…_selection_theme
…_selection_theme
No description provided.