mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Add a null pointer check in NativeActivity
due to stack trace from #17364
This commit is contained in:
parent
51fc2c6170
commit
16fbb31a65
@ -754,7 +754,7 @@ public abstract class NativeActivity extends Activity {
|
||||
super.onDestroy();
|
||||
Log.i(TAG, "onDestroy");
|
||||
if (javaGL) {
|
||||
if (nativeRenderer.isRenderingFrame()) {
|
||||
if (nativeRenderer != null && nativeRenderer.isRenderingFrame()) {
|
||||
Log.i(TAG, "Waiting for renderer to finish.");
|
||||
int tries = 200;
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user