mirror of https://github.com/axmolengine/axmol.git
parent
b25f35d2c0
commit
2c682380ed
|
@ -41,6 +41,7 @@ THE SOFTWARE.
|
|||
#include "CCBitmapFontAtlas.h"
|
||||
#include "CCActionManager.h"
|
||||
#include "CCLabel.h"
|
||||
#include "CCConfiguration.h"
|
||||
|
||||
#if CC_ENABLE_PROFILERS
|
||||
#include "support/CCProfiling.h"
|
||||
|
@ -152,6 +153,9 @@ CCDirector::~CCDirector(void)
|
|||
CCX_SAFE_RELEASE(m_pRunningScene);
|
||||
CCX_SAFE_RELEASE(m_pobScenesStack);
|
||||
|
||||
// delete configuration pointer
|
||||
CCConfiguration *conf = CCConfiguration::sharedConfiguration();
|
||||
CCX_SAFE_RELEASE(conf);
|
||||
|
||||
// pop the autorelease pool
|
||||
NSPoolManager::getInstance()->pop();
|
||||
|
|
Loading…
Reference in New Issue