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;
|
||||
}
|
||||
|
||||
private void closeBrowser() {
|
||||
public void closeBrowser() {
|
||||
mBrowserFrame.setBackgroundColor(mBackgroundColor);
|
||||
performExitCleanUp();
|
||||
mTabsManager.shutdown();
|
||||
|
@ -58,7 +58,6 @@ public class IncognitoActivity extends BrowserActivity {
|
||||
@Override
|
||||
public void closeActivity() {
|
||||
closeDrawers();
|
||||
performExitCleanUp();
|
||||
finish();
|
||||
closeBrowser();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user