SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Fix data race in usage of ShadowTreeRevisionConsistencyManager (#51293)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51293

# Changelog:
[Internal] -

Indirect consequence of https://github.com/facebook/react-native/pull/50484, TSAN started to detect a data race in some configurations.

It's possible to have the data race between the `ShadowTreeRevisionConsistencyManager` being set in `RuntimeScheduler` and it being already used in the executor thread (as these things are generally done from different threads).

Differential Revision: D74651070

fbshipit-source-id: bda49371d541815119f119e6986de39c21f9b374
R
Ruslan Shestopalyuk committed
80eed4a4a7a67cde62eaf4d4958446ef9f5657e7
Parent: 1d5bbf1
Committed by Facebook GitHub Bot <[email protected]> on 5/13/2025, 4:39:04 PM