Disable preallocation for panel apps

Summary: Disable preallocation for panel apps to mitigate some crashes.

Reviewed By: javache

Differential Revision: D35866301

fbshipit-source-id: e6277e6be7a86682867c6a7ecfe60f7cf1ab549d
This commit is contained in:
Xin Chen
2022-05-03 14:47:47 -07:00
committed by Facebook GitHub Bot
parent 16f30fc0ec
commit 72c1a770fe
3 changed files with 17 additions and 12 deletions
@@ -94,8 +94,12 @@ public class ReactFeatureFlags {
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
/** Feature Flag for mitigatin concurrent root crashes */
public static boolean enableDelayedViewStateDeletion = false;
public static boolean disablePreallocationOnClone = false;
public static boolean shouldRememberAllocatedViews = false;
/**
* Feature Flag to control the size of the cache used by TextLayoutManager in Fabric. Used from
* JNI.