Fixed NullPointerException
This commit is contained in:
parent
a345c092da
commit
b727f93948
1 changed files with 1 additions and 1 deletions
|
@ -1625,7 +1625,7 @@ class SDLMain implements Runnable {
|
||||||
|
|
||||||
Log.v("SDL", "Finished main function");
|
Log.v("SDL", "Finished main function");
|
||||||
|
|
||||||
if (SDLActivity.mSingleton.isFinishing()) {
|
if (SDLActivity.mSingleton == null || SDLActivity.mSingleton.isFinishing()) {
|
||||||
// Activity is already being destroyed
|
// Activity is already being destroyed
|
||||||
} else {
|
} else {
|
||||||
// Let's finish the Activity
|
// Let's finish the Activity
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue