mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: In the case of T110060790, there is a JavaScript crash that causes RN teardown to race with a ScrollView event being emitted, which ends up being reported as the "real" cause of the crash. This is not correct, and it's better to just ignore this case. If there's no EventDispatcher, it means something has gone wrong (usually teardown) before, RN is in an inconsistent state, and we should not crash here or report here. Changelog: [Android][Fixed] Fix crash from ScrollView that occurs while reporting an error from JS Reviewed By: mdvacca Differential Revision: D33644692 fbshipit-source-id: 41c3defde795b804239cc8401c8aff71d017d59d