webf icon indicating copy to clipboard operation
webf copied to clipboard

fix: fix other element's memory leaks due to ImageProvider cached.

Open andycall opened this issue 10 months ago • 0 comments

By default, Flutter caches the ImageProvider globally. However, these providers also hold strong references to WebF's elements.

This PR removes these strong references to ensure elements can be garbage collected freely, except for the ImageProviders.

andycall avatar Apr 02 '24 10:04 andycall