Browse Source

fixed index out of bounds bug

master
Anthony Restaino 9 years ago
parent
commit
1198aeeb4d
  1. 2
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

2
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -1068,7 +1068,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
mTabsManager.shutdown(); mTabsManager.shutdown();
mCurrentView = null; mCurrentView = null;
for (int n = 0; n < size; n++) { for (int n = 0; n < size; n++) {
mTabsView.tabRemoved(n); mTabsView.tabRemoved(0);
} }
finish(); finish();
} }

Loading…
Cancel
Save