mirror of https://github.com/axmolengine/axmol.git
CppTests-->Extension-->CocosBuilderTest:Fixed crash on Android 5.0.x.
This commit is contained in:
parent
06f57600d4
commit
2deeee70d2
|
@ -72,7 +72,12 @@ AndroidJavaEngine::AndroidJavaEngine()
|
|||
}
|
||||
}
|
||||
|
||||
AndroidJavaEngine::~AndroidJavaEngine() {
|
||||
AndroidJavaEngine::~AndroidJavaEngine()
|
||||
{
|
||||
if (_implementBaseOnAudioEngine)
|
||||
{
|
||||
stopAllEffects();
|
||||
}
|
||||
cocos2d::JniMethodInfo methodInfo;
|
||||
|
||||
if (!getJNIStaticMethodInfo(methodInfo, "end", "()V")) {
|
||||
|
|
Loading…
Reference in New Issue