fixed #3457 scenetest crashed when back to menu.

This commit is contained in:
zhangcheng 2013-12-27 12:39:21 +08:00
parent 6a9fbfbc60
commit 1b666d4d41
1 changed files with 3 additions and 2 deletions

View File

@ -447,10 +447,11 @@ namespace cocostudio {
void SceneReader::purgeSceneReader() void SceneReader::purgeSceneReader()
{ {
CC_SAFE_DELETE(s_sharedReader); DictionaryHelper::shareHelper()->purgeDictionaryHelper();
DictionaryHelper::shareHelper()->purgeDictionaryHelper();
TriggerMng::getInstance()->destroyInstance(); TriggerMng::getInstance()->destroyInstance();
_pfnSelector = NULL; _pfnSelector = NULL;
_pListener = NULL;
CC_SAFE_DELETE(s_sharedReader);
} }
} }