From 767a13c3cfb0adde2a6018b01983d2f19a8792bd Mon Sep 17 00:00:00 2001 From: Dylan Roeh Date: Thu, 9 Mar 2017 13:28:35 -0600 Subject: [PATCH] Bug 1325021 - Set mDoorHangerPopup to null after destroying it. r=sebastian --- mobile/android/base/java/org/mozilla/gecko/BrowserApp.java | 4 +++- 1 file changed, 3 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 70d5f1883227..1ea9cf0e69cd 100644 --- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java +++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java @@ -1540,8 +1540,10 @@ public class BrowserApp extends GeckoApp deleteTempFiles(getApplicationContext()); - if (mDoorHangerPopup != null) + if (mDoorHangerPopup != null) { mDoorHangerPopup.destroy(); + mDoorHangerPopup = null; + } if (mFormAssistPopup != null) mFormAssistPopup.destroy(); if (mTextSelection != null)