mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a2913d33a6
Summary: Previously we tried to fix that with RCTUnsafeExecuteOnUIManagerQueueSync but that caused a deadlock (yeah, it's actually unsafe). Besides that, I tried to solve that with introducing a mutex that covers access to `_operations` and `_preOperations` but failed miserably. It solved threading issue but that didn't fix data-races and inconsistency of the collections. Reviewed By: sahrens Differential Revision: D15587564 fbshipit-source-id: d1953036b09354d1663a9b191440f8b4a4e6be9d