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 (#45550)
Summary: Pull Request resolved: #45550 `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 fbshipit-source-id: a2fcc798430acaadd07561a5be871967cc8f2c3b
- Loading branch information