Restore correct placement of PRE_RUN_JS_BUNDLE_START
Reviewed By: alexeylang Differential Revision: D5640104 fbshipit-source-id: f0709f16874cca5147fdfc539727ec4225ca539b
This commit is contained in:
parent
c080fe54d6
commit
3c12faf01c
|
@ -1021,8 +1021,8 @@ public class ReactInstanceManager {
|
|||
if (Systrace.isTracing(TRACE_TAG_REACT_APPS | TRACE_TAG_REACT_JSC_CALLS)) {
|
||||
catalystInstance.setGlobalVariable("__RCTProfileIsProfiling", "true");
|
||||
}
|
||||
ReactMarker.logMarker(ReactMarkerConstants.PRE_RUN_JS_BUNDLE_START);
|
||||
catalystInstance.runJSBundle();
|
||||
|
||||
// Transitions functions in the minitFunctions list to catalystInstance, to run after the bundle
|
||||
// TODO T20546472
|
||||
if (!mInitFunctions.isEmpty()) {
|
||||
|
@ -1030,11 +1030,8 @@ public class ReactInstanceManager {
|
|||
((CatalystInstanceImpl) catalystInstance).callFunction(function);
|
||||
}
|
||||
}
|
||||
ReactMarker.logMarker(ReactMarkerConstants.PRE_RUN_JS_BUNDLE_START);
|
||||
|
||||
reactContext.initializeWithInstance(catalystInstance);
|
||||
|
||||
|
||||
return reactContext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue