[tbb-commits] [tor-browser/tor-browser-68.3.0esr-9.0-1] Bug #32405: Crash immediately after bootstrap on Android

sysrqb at torproject.org sysrqb at torproject.org
Tue Dec 17 18:50:11 UTC 2019


commit 4eb56ec0936e03dcc5d7e83322961c986065dc5d
Author: sisbell <shane.isbell at gmail.com>
Date:   Wed Nov 27 21:08:02 2019 -0800

    Bug #32405: Crash immediately after bootstrap on Android
---
 mobile/android/base/java/org/mozilla/gecko/BrowserApp.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
index 36f0b0dbb66c..38dac85ef3bc 100644
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -3032,7 +3032,10 @@ public class BrowserApp extends GeckoApp
                     // When the content loaded in the background (such as about:tor),
                     // it was loaded while mBrowserChrome was GONE. We should refresh the
                     // height now so the page is rendered correctly.
-                    Tabs.getInstance().getSelectedTab().doReload(true);
+                    final Tab currentTab = Tabs.getInstance().getSelectedTab();
+                    if (currentTab != null) {
+                        currentTab.doReload(true);
+                    }
 
                     // If we finished, then Tor bootstrapped 100%
                     mTorNeedsStart = false;



More information about the tbb-commits mailing list