Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Always exit on activity destroy #3392

Merged
merged 1 commit into from
May 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,9 @@ protected void onDestroy() {
super.onDestroy();
mLifeCycle.setCurrentState(Lifecycle.State.DESTROYED);
mViewModelStore.clear();
// Always exit to work around https://github.com/MozillaReality/FirefoxReality/issues/3363
finish();
System.exit(0);
}

@Override
Expand Down