mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Resolve crashes in NativeAnimated in Fabric
Summary: Reduce crash volume. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D22934177 fbshipit-source-id: 5b959239a7c1cabe3b552e2b99b32c7735fe7bf8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9728d04f96
commit
187fc09b9d
@@ -719,6 +719,9 @@ import java.util.Queue;
|
||||
+ updatedNodesCount);
|
||||
if (mEventListenerInitializedForFabric && cyclesDetected == 0) {
|
||||
ReactSoftException.logSoftException(TAG, new ReactNoCrashSoftException(ex));
|
||||
} else if (mEventListenerInitializedForFabric) {
|
||||
// Crashes in Debug, but not in Production
|
||||
ReactSoftException.logSoftException(TAG, ex);
|
||||
} else {
|
||||
throw ex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user