Skip to content

Commit

Permalink
Merge pull request #52732 from QichenZhu/fix/52496
Browse files Browse the repository at this point in the history
Add patch to enable allowRecursiveCommitsWithSynchronousMountOnAndroid feature flag
  • Loading branch information
rlinoz authored Nov 20, 2024
2 parents b52f41d fa8281f commit 5df79da
Showing 1 changed file with 17 additions and 0 deletions.
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;

{

0 comments on commit 5df79da

Please sign in to comment.