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:
olivier notteghem 2015-09-30 14:07:52 -07:00 committed by facebook-github-bot-4
parent 189ba53ca2
commit 2bded4cb2e
1 changed files with 1 additions and 0 deletions

View File

@ -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();