Skip to content

_LiveImages leak if they are pending when the image cache is cleared. #107266

@apwilson

Description

@apwilson

Before clearing _pendingImages we need to call removeListener on each pendingImage in order for the _liveImages to properly clean up.

https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/painting/image_cache.dart#L198

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: imagesLoading, displaying, rendering imagescustomer: dream (g3)frameworkflutter/packages/flutter repository. See also f: labels.perf: memoryPerformance issues related to memory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions