webf
webf copied to clipboard
fix: fix other element's memory leaks due to ImageProvider cached.
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.