mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D37912783: Multisect successfully blamed D37912783 for test or build failures
Summary: changelog: [internal] This diff is reverting D37912783 (https://github.com/facebook/react-native/commit/2b57b749fbdeee8340dee385288d194155f693c8) Depends on D38035753 D37912783 (https://github.com/facebook/react-native/commit/2b57b749fbdeee8340dee385288d194155f693c8) has been identified to be causing the following test or build failures: Tests affected: - https://www.internalfb.com/intern/test/281475006604971/ Here's the Multisect link: https://www.internalfb.com/intern/testinfra/multisect/1077515 Here are the tasks that are relevant to this breakage: T93091116: 1 test started failing for oncall messenger_kids_www_rn in the last 2 weeks We're generating a revert to back out the changes in this diff, please note the backout may land if someone accepts it. Reviewed By: sammy-SC Differential Revision: D38035761 fbshipit-source-id: 70034af3275b7b69c0b50f12a377182d4f23e669
This commit is contained in:
committed by
Facebook GitHub Bot
parent
33d1291e1a
commit
b9cf207db9
@@ -108,7 +108,8 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
||||
// C++ parts
|
||||
private final HybridData mHybridData;
|
||||
|
||||
private static native HybridData initHybrid();
|
||||
private static native HybridData initHybrid(
|
||||
boolean enableRuntimeScheduler, boolean enableRuntimeSchedulerInTurboModule);
|
||||
|
||||
public native CallInvokerHolderImpl getJSCallInvokerHolder();
|
||||
|
||||
@@ -123,7 +124,15 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
||||
FLog.d(ReactConstants.TAG, "Initializing React Xplat Bridge.");
|
||||
Systrace.beginSection(TRACE_TAG_REACT_JAVA_BRIDGE, "createCatalystInstanceImpl");
|
||||
|
||||
mHybridData = initHybrid();
|
||||
if (ReactFeatureFlags.enableRuntimeSchedulerInTurboModule
|
||||
&& !ReactFeatureFlags.enableRuntimeScheduler) {
|
||||
Assertions.assertUnreachable();
|
||||
}
|
||||
|
||||
mHybridData =
|
||||
initHybrid(
|
||||
ReactFeatureFlags.enableRuntimeScheduler,
|
||||
ReactFeatureFlags.enableRuntimeSchedulerInTurboModule);
|
||||
|
||||
mReactQueueConfiguration =
|
||||
ReactQueueConfigurationImpl.create(
|
||||
|
||||
@@ -70,6 +70,10 @@ public class ReactFeatureFlags {
|
||||
/** This feature flag enables logs for Fabric */
|
||||
public static boolean enableFabricLogs = false;
|
||||
|
||||
public static boolean enableRuntimeScheduler = false;
|
||||
|
||||
public static boolean enableRuntimeSchedulerInTurboModule = false;
|
||||
|
||||
/** Feature flag to configure eager attachment of the root view/initialisation of the JS code */
|
||||
public static boolean enableEagerRootViewAttachment = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user