Android close device eventually crashes with repeated use.

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
luthyr
Posts: 69
Joined: Wed Dec 30, 2009 5:47 pm

Android close device eventually crashes with repeated use.

Post 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.
Post Reply