Permalink
Browse files

Merge pull request #601 from dumganhar/master_base

fix a bug in ZwoptexTest.
  • Loading branch information...
2 parents 5477594 + ab3ee2b commit c9fa52d403614f6398f3bb6978e8ac78e2582df3 @minggo minggo committed Dec 1, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/tests/ZwoptexTest/ZwoptexTest.cpp
@@ -219,6 +219,9 @@ ZwoptexGenericTest::~ZwoptexGenericTest()
{
sprite1->release();
sprite2->release();
+ CCSpriteFrameCache *cache = CCSpriteFrameCache::sharedSpriteFrameCache();
+ cache->removeSpriteFramesFromFile("zwoptex/grossini.plist");
+ cache->removeSpriteFramesFromFile("zwoptex/grossini-generic.plist");
}
std::string ZwoptexGenericTest::title()

0 comments on commit c9fa52d

Please sign in to comment.