Sunday, February 19, 2017

Finally Killed the ICBM Zombie Process Bug

Pretty much ever since Forge Cortex has been available my game, The Inter-Continental Brink of Madness, or ICBM for short, had a problem where it would restart itself on the Forge without being asked to be started.

The game was a zombie --- you'd kill it, but it'd keep coming back, restarting when you don't want it to restart.

YAY! I FINALLY fixed the bug. The zombie is dead. For good. I'm pretty sure. I've done all these tests --- the game stays closed now, won't restart when it shouldn't.

So, hopefully my submission of version 1.5.5 will be approved and released sometime this week.



To anyone who wants to know what I did to fix the game:::::

Most basically put, I updated the SDK the game uses (in the manifest) to Android 6.0.1 (23) and then removed System.Exit(0) from the shutdown sequence.

Previously, the game had SDK compatibility with the old OUYA ---- but now it's updated to Android TV.

And I found some info using google that said System.Exit() should not be used with this version of Android TV, so I tried that, and it worked. Yay.

Sorry for taking so long to figure that one out and fix it.

No comments:

Post a Comment