mirror of https://github.com/axmolengine/axmol.git
fixed #3457 scenetest crashed when back to menu.
This commit is contained in:
parent
6a9fbfbc60
commit
1b666d4d41
|
@ -447,10 +447,11 @@ namespace cocostudio {
|
|||
|
||||
void SceneReader::purgeSceneReader()
|
||||
{
|
||||
CC_SAFE_DELETE(s_sharedReader);
|
||||
DictionaryHelper::shareHelper()->purgeDictionaryHelper();
|
||||
DictionaryHelper::shareHelper()->purgeDictionaryHelper();
|
||||
TriggerMng::getInstance()->destroyInstance();
|
||||
_pfnSelector = NULL;
|
||||
_pListener = NULL;
|
||||
CC_SAFE_DELETE(s_sharedReader);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue