fix binary test crash bug

This commit is contained in:
geron-cn 2014-07-17 16:16:49 +08:00
parent 441f0ebca8
commit 4e9a710053
1 changed files with 1 additions and 2 deletions

View File

@ -1544,8 +1544,7 @@ void TestLoadFromBinary::onTouchesEnded(const std::vector<Touch*>& touches, Even
{
m_armatureIndex = -2; // is loading
// remove json created
// remove sync resource
// remove json created and need remove their names: exprtjsone & csbs
ArmatureDataManager::getInstance()->removeArmatureFileInfo(m_binaryFilesNames[0]);
ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/Cowboy.ExportJson");
ArmatureDataManager::getInstance()->removeArmatureFileInfo("armature/hero.ExportJson");