diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/UIDialog.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/UIDialog.java index 52a6d1d42..e7a50f9f5 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/UIDialog.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/UIDialog.java @@ -34,6 +34,7 @@ private void initialize() { @Override public void releaseWidget() { mWidgetManager.removeWorldClickListener(this); + mDialogs.remove(this); super.releaseWidget(); }