mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
NativeActivity: null surface on exit, renderloopthread on exception
This commit is contained in:
parent
602407fcf2
commit
f83fb2325e
@ -724,6 +724,7 @@ public abstract class NativeActivity extends Activity {
|
||||
mRenderLoopThread = null;
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
mRenderLoopThread = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -766,6 +767,7 @@ public abstract class NativeActivity extends Activity {
|
||||
} else {
|
||||
mSurfaceView.onDestroy();
|
||||
mSurfaceView = null;
|
||||
mSurface = null;
|
||||
}
|
||||
|
||||
// Probably vain attempt to help the garbage collector...
|
||||
|
Loading…
Reference in New Issue
Block a user