Skip to content

feat: add autoDisposeImage param to automatically evict image from cache when object dispose - #289

Open
Yongle-Fu wants to merge 1 commit into
xvrh:masterfrom
Yongle-Fu:feat/autoDisposeImage
Open

feat: add autoDisposeImage param to automatically evict image from cache when object dispose#289
Yongle-Fu wants to merge 1 commit into
xvrh:masterfrom
Yongle-Fu:feat/autoDisposeImage

Conversation

@Yongle-Fu

Copy link
Copy Markdown

No description provided.

@xvrh

xvrh commented Aug 6, 2023

Copy link
Copy Markdown
Owner

Can you expand a bit on what the goal of the PR is?

Would we achieve the same result with a boolean like cacheImages: false that would prevent caching the image entirely?

@Yongle-Fu

Copy link
Copy Markdown
Author

Yes, the purpose is to automatically release its memory usage when Lottie Widget is no longer in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants