Skip to content

(cherry-pick) fix: Make node marking as removable safer #8026

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

Merged

Conversation

MatiPl01
Copy link
Member

@MatiPl01 MatiPl01 commented Aug 7, 2025

Cherry-pick of the #8014

## Summary

This PR aims to fix the following issue #8001.

I was unable to reproduce this issue but I suspect that these lock calls
were missing before, which resulted in crashes when the
`removableShadowNodes_` map was modified while the `handleNodeRemovals`
method in the mount hook was called
@MatiPl01 MatiPl01 changed the base branch from main to 4.0-stable August 7, 2025 09:48
@MatiPl01 MatiPl01 self-assigned this Aug 7, 2025
@MatiPl01 MatiPl01 mentioned this pull request Aug 6, 2025
15 tasks
@MatiPl01 MatiPl01 requested review from piaskowyk and tomekzaw August 7, 2025 09:51
@MatiPl01 MatiPl01 merged commit f9d3399 into 4.0-stable Aug 7, 2025
2 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/cherry-pick/safer-removable-nodes-marking branch August 7, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants