Skip to content

Commit

Permalink
Merge pull request hrydgard#16217 from lvonasek/hotfix_openxr_killapp
Browse files Browse the repository at this point in the history
OpenXR - Ensure the app gets unloaded when killed by OS
  • Loading branch information
hrydgard authored Oct 14, 2022
2 parents b3ac533 + 7b058a5 commit cbe31af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/src/org/ppsspp/ppsspp/NativeActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,11 @@ protected void onDestroy() {
initialized = false;
}
navigationCallbackView = null;

// Workaround for VR issues when PPSSPP restarts
if (isVRDevice()) {
System.exit(0);
}
}

@Override
Expand Down

0 comments on commit cbe31af

Please sign in to comment.