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 race condition in SkiaDomView #2823

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

wcandillon
Copy link
Contributor

fixes #2814

The race condition would occur when prop update in the view would trigger a redraw request, then the DOM would also emit a redraw request itself would get canceled due to the pending redraw. That first redraw request however, is not using the updated DOM version.

We are rearchitecturing this part of the system at the moment, where such issues won't be possible anymore. However this should be good fix for now.

fixes #2814

The race condition would occur when prop update in the view would trigger a redraw request, then the DOM  would also emit a  redraw request itself would get canceled due to the pending redraw. That first redraw request however, is not using the updated DOM version.

We are rearchitecturing this part of the system at the moment, where such issues won't be possible anymore. However this should be good fix for now.
@wcandillon wcandillon merged commit cca99c4 into main Dec 18, 2024
7 checks passed
Copy link
Contributor

🎉 This PR is included in version 1.7.6 🎉

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.

incorrect paths rendering
1 participant