Skip to content

Commit

Permalink
Always exit on activity destroy (#3392)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed May 18, 2020
1 parent 47cc413 commit 5a370bc
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 5a370bc

Please sign in to comment.