mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
40043a175e
Summary: Trying to mitigate animation-related crashes in T43628589. Clues: all the crashes are off the main thread, and most operations in this class happen explicitly in blocks executed on the main thread. I think there's a category of race conditions caused by animations not being allocated yet when this code runs / being deallocated as it's running. We shouldn't need to add locks if everything just runs on the main thread. Reviewed By: PeteTheHeat Differential Revision: D15924310 fbshipit-source-id: d82f5434e53fd394c4a7548d52f59a0f63961779