mirror of https://github.com/axmolengine/axmol.git
Remove unnecessary AudioEngine::end() at AppDelegate::~AppDelegate of HellCpp & HelloLua
This commit is contained in:
parent
2d15d9d447
commit
086f6b1715
|
@ -45,9 +45,6 @@ AppDelegate::AppDelegate()
|
|||
|
||||
AppDelegate::~AppDelegate()
|
||||
{
|
||||
#if USE_AUDIO_ENGINE
|
||||
AudioEngine::end();
|
||||
#endif
|
||||
}
|
||||
|
||||
// if you want a different context, modify the value of glContextAttrs
|
||||
|
|
|
@ -43,15 +43,6 @@ AppDelegate::AppDelegate()
|
|||
|
||||
AppDelegate::~AppDelegate()
|
||||
{
|
||||
#if USE_AUDIO_ENGINE
|
||||
AudioEngine::end();
|
||||
#endif
|
||||
|
||||
#if (COCOS2D_DEBUG > 0) && (CC_CODE_IDE_DEBUG_SUPPORT > 0)
|
||||
// NOTE:Please don't remove this call if you want to debug with Cocos Code IDE
|
||||
RuntimeEngine::getInstance()->end();
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
// if you want a different context, modify the value of glContextAttrs
|
||||
|
|
Loading…
Reference in New Issue