Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed NullPointerException
  • Loading branch information
slouken committed Feb 8, 2020
1 parent e5e5416 commit 64c58b9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1625,7 +1625,7 @@ public void run() {

Log.v("SDL", "Finished main function");

if (SDLActivity.mSingleton.isFinishing()) {
if (SDLActivity.mSingleton == null || SDLActivity.mSingleton.isFinishing()) {
// Activity is already being destroyed
} else {
// Let's finish the Activity
Expand Down

0 comments on commit 64c58b9

Please sign in to comment.