Page 1 of 1

Android close device eventually crashes with repeated use.

Posted: Wed Feb 25, 2015 5:10 am
by luthyr
I've been getting a crash when closing/loading my game multiple times in CKeyEventWrapper.cpp, at:

Code: Select all

JniKeyEvent = JniEnv->NewObject(Class_KeyEvent, Method_constructor, action, code);  
It seems to be related to this: http://stackoverflow.com/questions/1476 ... -in-a-tabl

Is there a reason for the static variables? If I make them local member variables, I have not been able to reproduce the crash.