This commit is contained in:
@@ -384,6 +384,9 @@ public class SDLActivity extends Activity {
|
|||||||
public static void handleNativeExit() {
|
public static void handleNativeExit() {
|
||||||
SDLActivity.mSDLThread = null;
|
SDLActivity.mSDLThread = null;
|
||||||
mSingleton.finish();
|
mSingleton.finish();
|
||||||
|
|
||||||
|
// This fixes bad state errors when calling exit from C++, then resuming later
|
||||||
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user