Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ConcurrentModificationException in ReactScrollViewHelper
Summary: `ConcurrentModificationException` is happening from `emitScrollEvent()`. This usually happens if we modify the collection (add/remove) while accessing collection in a foreach loop. Seems likely add/remove is called from a different thread while in the foreach loop. Converting to list before we do the foreach as a quick fix. Changelog: [Internal] - quick fix for exception Issure reported here: https://fb.workplace.com/groups/rn.support/permalink/26557068097248454/ Reviewed By: mdvacca Differential Revision: D59991739
- Loading branch information