Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make "dispose" functional for EncodedImages #3733

Open
ddyer0 opened this issue Sep 15, 2023 · 0 comments
Open

make "dispose" functional for EncodedImages #3733

ddyer0 opened this issue Sep 15, 2023 · 0 comments
Assignees

Comments

@ddyer0
Copy link
Contributor

ddyer0 commented Sep 15, 2023

I observe that calling image.dispose() on an EncodedImage does nothing.

Given that there's an elaborate process to use an EncodedImage's image bits, it ought to be
possible to both implement the intent of dispose(), free a bunch of resources, and also
throw some graceful exception if the user misuses an image that has been disposed.

@shai-almog shai-almog self-assigned this Sep 16, 2023
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

No branches or pull requests

2 participants