Skip to content

Commit 2bded4c

Browse files
olinotteghemfacebook-github-bot-4
authored andcommitted
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
1 parent 189ba53 commit 2bded4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ private void tearDownReactContext(ReactContext reactContext) {
492492
private ReactApplicationContext createReactContext(
493493
JavaScriptExecutor jsExecutor,
494494
JSBundleLoader jsBundleLoader) {
495+
FLog.i(ReactConstants.TAG, "Creating react context.");
495496
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleRegistry.Builder();
496497
JavaScriptModulesConfig.Builder jsModulesBuilder = new JavaScriptModulesConfig.Builder();
497498

0 commit comments

Comments
 (0)