4e0f94ea7d
C SDLmain() thread might have started (mSDLThread.start() called) while the SDL_Init() might not have been called yet, and so the previous QUIT event will be discarded by SDL_Init() and app is running, not exiting. This is reprocible by adding instrumentation code in the SDLActivity. And hopefully, this could fix an ANR, where SDLActivity is in WAITING state (in thread.join()): at java.lang.Thread.join (Thread.java:1519) at org.libsdl.app.SDLActivity.onDestroy (SDLActivity.java) while SDLThread seems to be running |
||
---|---|---|
.. | ||
app | ||
gradle/wrapper | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |