Android close device eventually crashes with repeated use.
Posted: Wed Feb 25, 2015 5:10 am
I've been getting a crash when closing/loading my game multiple times in CKeyEventWrapper.cpp, at:
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.
Code: Select all
JniKeyEvent = JniEnv->NewObject(Class_KeyEvent, Method_constructor, action, code);
Is there a reason for the static variables? If I make them local member variables, I have not been able to reproduce the crash.