mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d7f748a944
Summary: The concurrent queue seems to leak values on some Android 12 devices when interleaving instruction polling and execution. To help with that, we can drain the queue before executing operations, reducing the window when `add` and `poll` happen concurrently. Changelog: [Internal] - Drain the Animated queue before execution Reviewed By: JoshuaGross Differential Revision: D34370056 fbshipit-source-id: 781631dbf1a10e3f1ba9564db985403bd77a2c06