mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5c045861b9
Summary: Ensures that copy of the native touch objects happens before consuming them. The reverse order seems accidental after refactor, as copying objects doesn't consume them whereas adding to a native array does. This behavior didn't show up during testing in dev environment (only affects CANCEL events), and it seems to be the cause of high-firing crash on production. Changelog: [Internal] Copy touch objects before consuming them in the new touch path. Reviewed By: mdvacca Differential Revision: D32112036 fbshipit-source-id: e9ec47689b7ceb0a40a23bab9f03367c4acb8632