The image cache can lose track of a live image that it probably shouldn't lose track of #67069
Labels
a: images
Loading, displaying, rendering images
c: performance
Relates to speed or footprint issues (see "perf:" labels)
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
perf: memory
Performance issues related to memory
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
The following sequence would lead to this:
In fact, the image should still be considered live because the completer/image are actually still available somewhere. Some potential solutions:
I started looking at doing this in #66688 but it was further complecting things and since this behavior existed already (e.g. add a listener, remove the last listener, add a listener again) I decided to leave it for a separate patch.
The text was updated successfully, but these errors were encountered: