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

fix(🐛): Fix serious memory error with data loading hooks (useImage, useFont) #2866

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

wcandillon
Copy link
Contributor

Hooks like useImage wrong manually dispose the data when unmounting even thought the reference might be still used somewhere else. In the case of the Skia reconciler, the image is disposed even before any kind of unmounting is signaled to the reconciler.

@wcandillon wcandillon merged commit a78b255 into main Jan 7, 2025
8 checks passed
Copy link
Contributor

github-actions bot commented Jan 7, 2025

🎉 This PR is included in version 1.8.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant