Fixed memory leak in IncognitoActivity

This commit is contained in:
Anthony Restaino 2016-01-10 14:02:13 -05:00
parent 8d390e1d6d
commit cb19ce2d0a
2 changed files with 2 additions and 3 deletions

View File

@ -1099,7 +1099,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
return true; return true;
} }
private void closeBrowser() { public void closeBrowser() {
mBrowserFrame.setBackgroundColor(mBackgroundColor); mBrowserFrame.setBackgroundColor(mBackgroundColor);
performExitCleanUp(); performExitCleanUp();
mTabsManager.shutdown(); mTabsManager.shutdown();

View File

@ -58,7 +58,6 @@ public class IncognitoActivity extends BrowserActivity {
@Override @Override
public void closeActivity() { public void closeActivity() {
closeDrawers(); closeDrawers();
performExitCleanUp(); closeBrowser();
finish();
} }
} }