Skip to content

Commit

Permalink
Resolve crashes in NativeAnimated in Fabric
Browse files Browse the repository at this point in the history
Summary:
Reduce crash volume.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D22934177

fbshipit-source-id: 5b959239a7c1cabe3b552e2b99b32c7735fe7bf8
  • Loading branch information
JoshuaGross authored and facebook-github-bot committed Aug 5, 2020
1 parent 9728d04 commit 187fc09
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,9 @@ private void updateNodes(List<AnimatedNode> nodes) {
+ 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;
}
Expand Down

0 comments on commit 187fc09

Please sign in to comment.