Skip to content

Commit 784f89d

Browse files
aaronechiufacebook-github-bot
authored andcommitted
fix lint
Reviewed By: javache Differential Revision: D5103275 fbshipit-source-id: 1df50ecef7b16289eecadde3c193db086eef1fc7
1 parent 130a821 commit 784f89d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ public void startReactApplication(
236236
/**
237237
* Unmount the react application at this root view, reclaiming any JS memory associated with that
238238
* application. If {@link #startReactApplication} is called, this method must be called before the
239-
* ReactRootView is garbage collected (typically in your Activity's onDestroy, or in your Fragment's
240-
* onDestroyView).
239+
* ReactRootView is garbage collected (typically in your Activity's onDestroy, or in your
240+
* Fragment's onDestroyView).
241241
*/
242242
public void unmountReactApplication() {
243243
if (mReactInstanceManager != null && mIsAttachedToInstance) {
@@ -339,10 +339,11 @@ protected void finalize() throws Throwable {
339339
super.finalize();
340340
Assertions.assertCondition(
341341
!mIsAttachedToInstance,
342-
"The application this ReactRootView was rendering was not unmounted before the ReactRootView " +
343-
"was garbage collected. This usually means that your application is leaking large amounts of " +
344-
"memory. To solve this, make sure to call ReactRootView#unmountReactApplication in the onDestroy() " +
345-
"of your hosting Activity or in the onDestroyView() of your hosting Fragment.");
342+
"The application this ReactRootView was rendering was not unmounted before the " +
343+
"ReactRootView was garbage collected. This usually means that your application is " +
344+
"leaking large amounts of memory. To solve this, make sure to call " +
345+
"ReactRootView#unmountReactApplication in the onDestroy() of your hosting Activity or in " +
346+
"the onDestroyView() of your hosting Fragment.");
346347
}
347348

348349
public int getRootViewTag() {

0 commit comments

Comments
 (0)