Fixed memory leak in IncognitoActivity
This commit is contained in:
parent
8d390e1d6d
commit
cb19ce2d0a
@ -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();
|
||||||
|
@ -58,7 +58,6 @@ public class IncognitoActivity extends BrowserActivity {
|
|||||||
@Override
|
@Override
|
||||||
public void closeActivity() {
|
public void closeActivity() {
|
||||||
closeDrawers();
|
closeDrawers();
|
||||||
performExitCleanUp();
|
closeBrowser();
|
||||||
finish();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user