Add log output to rule out that multiple react context creation are responsible for increased mem / image not loading in CTScan
Reviewed By: @krangarajan Differential Revision: D2495435
This commit is contained in:
parent
189ba53ca2
commit
2bded4cb2e
|
@ -492,6 +492,7 @@ public class ReactInstanceManager {
|
||||||
private ReactApplicationContext createReactContext(
|
private ReactApplicationContext createReactContext(
|
||||||
JavaScriptExecutor jsExecutor,
|
JavaScriptExecutor jsExecutor,
|
||||||
JSBundleLoader jsBundleLoader) {
|
JSBundleLoader jsBundleLoader) {
|
||||||
|
FLog.i(ReactConstants.TAG, "Creating react context.");
|
||||||
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleRegistry.Builder();
|
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleRegistry.Builder();
|
||||||
JavaScriptModulesConfig.Builder jsModulesBuilder = new JavaScriptModulesConfig.Builder();
|
JavaScriptModulesConfig.Builder jsModulesBuilder = new JavaScriptModulesConfig.Builder();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue