mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Ship eager initialization of mapbuffer
Summary: Ship eager initialization of mapbuffer changelog: [internal] internal Reviewed By: ShikaSD Differential Revision: D33754255 fbshipit-source-id: 1b8359b8c9fbc4fc7a155cb73e9147fd5b1f5963
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9df02fff6b
commit
93677cecde
@@ -74,9 +74,6 @@ public class ReactFeatureFlags {
|
||||
/** Enables a more aggressive cleanup during destruction of ReactContext */
|
||||
public static boolean enableReactContextCleanupFix = false;
|
||||
|
||||
/** Feature flag to configure eager initialization of MapBuffer So file */
|
||||
public static boolean enableEagerInitializeMapBufferSoFile = false;
|
||||
|
||||
/** Feature flag to configure eager attachment of the root view/initialisation of the JS code */
|
||||
public static boolean enableEagerRootViewAttachment = false;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
|
||||
Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "FabricJSIModuleProvider.registerBinding");
|
||||
final Binding binding = new Binding();
|
||||
|
||||
if (ReactFeatureFlags.enableEagerInitializeMapBufferSoFile) {
|
||||
if (ReactFeatureFlags.isMapBufferSerializationEnabled()) {
|
||||
ReadableMapBufferSoLoader.staticInit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user