cocos2d/cocos2d-x — pull request #6278 by sennin (2014-04-14 09:39:01+00:00)
Title: Detaching current thread in Jni

It is very important because after a while JNI just stop working. It
happens after couple of hours on Nexus 4 on Android 4.4. Please look and give
some feedback.