Merge pull request #1268 from reicast/lk/android-studio
Android: restore hard exiting thread (w/ notes)
This commit is contained in:
commit
ce7ebdc730
|
@ -586,11 +586,6 @@ public class GL2JNINative extends NativeActivity {
|
|||
moga.onDestroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
|
|
|
@ -681,6 +681,8 @@ public class GL2JNIView extends GLSurfaceView
|
|||
}
|
||||
|
||||
public void onDestroy() {
|
||||
// Workaround for ANR when returning to menu
|
||||
System.exit(0);
|
||||
try {
|
||||
ethd.join();
|
||||
} catch (InterruptedException e) {
|
||||
|
|
Loading…
Reference in New Issue