Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
Merge pull request #517 from brave/closeTab-crash
Browse files Browse the repository at this point in the history
Close tab crash
  • Loading branch information
bbondy committed Aug 14, 2015
2 parents ea3e537 + 50fe921 commit d1e681e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,11 @@ public boolean closeTab(TabView tabView, boolean animateOff, boolean canShowUndo

public boolean closeTab(TabView tabView, Constant.BubbleAction action, boolean animateOff, boolean canShowUndoPrompt) {

if (tabView == null) {
CrashTracking.log("closeTab attempt on null tabView");
return false;
}

// If the tab is already closing, do nothing. Otherwise we could end up in a weird state,
// where we attempt to show multiple prompts and crashing upon tab restore.
if (tabView.mIsClosing == true) {
Expand Down
1 change: 1 addition & 0 deletions Application/LinkBubble/src/main/res/xml/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<change>NEW: Ability to upload files via HTML file picker inputs. This requires us to ask for the permissions to read from external storage.</change>
<change>BUG FIX: Fixed text color for light colored theme backgrounds.</change>
<change>BUG FIX: Fixed previously broken functionality with various websites and image galleries.</change>
<change>BUG FIX: Fixed top crashers.</change>
</release>

<release version="1.5.1">
Expand Down

0 comments on commit d1e681e

Please sign in to comment.