v1.1.0: fixed poor crash messages when desktop crashes without natives
This commit is contained in:
parent
d21c216a60
commit
4ee98f2578
|
@ -275,7 +275,7 @@ public class Game implements ApplicationListener {
|
|||
}
|
||||
|
||||
public static void reportException( Throwable tr ) {
|
||||
if (instance != null) {
|
||||
if (instance != null && Gdx.app != null) {
|
||||
instance.logException(tr);
|
||||
} else {
|
||||
//fallback if error happened in initialization
|
||||
|
|
Loading…
Reference in New Issue
Block a user