Merge pull request #16217 from lvonasek/hotfix_openxr_killapp

OpenXR - Ensure the app gets unloaded when killed by OS
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2022-10-14 19:51:39 +02:00
commit cbe31af8cf
1 file changed
+5
@@ -789,6 +789,11 @@ public abstract class NativeActivity extends Activity {
initialized = false;
}
navigationCallbackView = null;
// Workaround for VR issues when PPSSPP restarts
if (isVRDevice()) {
System.exit(0);
}
}
@Override