Remove unnecessary AudioEngine::end() at AppDelegate::~AppDelegate of HellCpp & HelloLua

This commit is contained in:
halx99 2021-12-16 19:00:19 +08:00
parent 2d15d9d447
commit 086f6b1715
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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