Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/node_modules/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp b/node_modules/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp
index 280ae46..572fb3d 100644
--- a/node_modules/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp
+++ b/node_modules/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.cpp
@@ -483,8 +483,10 @@ void Binding::schedulerShouldRenderTransactions(
return;
}

- if (ReactNativeFeatureFlags::
- allowRecursiveCommitsWithSynchronousMountOnAndroid()) {
+ // Avoid freeze and crash caused by deadlock.
+ // Remove this patch after the feature flag is enabled by default.
+ // See: https://github.com/Expensify/App/issues/52496
+ if (true) {
std::vector<MountingTransaction> pendingTransactions;

{