mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Fixed NullPointerException if there's no singleton
This commit is contained in:
@@ -520,8 +520,10 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||
/* The native thread has finished */
|
||||
public static void handleNativeExit() {
|
||||
SDLActivity.mSDLThread = null;
|
||||
if (mSingleton != null) {
|
||||
mSingleton.finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Messages from the SDLMain thread
|
||||
|
||||
Reference in New Issue
Block a user