From 2bded4cb2ebb9c11d4d92a856476052f42be40cd Mon Sep 17 00:00:00 2001 From: olivier notteghem Date: Wed, 30 Sep 2015 14:07:52 -0700 Subject: [PATCH] Add log output to rule out that multiple react context creation are responsible for increased mem / image not loading in CTScan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed By: @​krangarajan Differential Revision: D2495435 --- .../src/main/java/com/facebook/react/ReactInstanceManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java b/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java index 688c97294..4d091a109 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java @@ -492,6 +492,7 @@ public class ReactInstanceManager { private ReactApplicationContext createReactContext( JavaScriptExecutor jsExecutor, JSBundleLoader jsBundleLoader) { + FLog.i(ReactConstants.TAG, "Creating react context."); NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleRegistry.Builder(); JavaScriptModulesConfig.Builder jsModulesBuilder = new JavaScriptModulesConfig.Builder();