issue #1686:synchronize CCParticleSystem.cpp

This commit is contained in:
minggo 2013-02-27 16:26:42 +08:00
parent 24e8664700
commit 2b0ff4ec62
1 changed files with 3 additions and 1 deletions

View File

@ -444,7 +444,9 @@ bool CCParticleSystem::initWithTotalParticles(unsigned int numberOfParticles)
CCParticleSystem::~CCParticleSystem()
{
unscheduleUpdate();
// Since the scheduler retains the "target (in this case the ParticleSystem)
// it is not needed to call "unscheduleUpdate" here. In fact, it will be called in "cleanup"
//unscheduleUpdate();
CC_SAFE_FREE(m_pParticles);
CC_SAFE_RELEASE(m_pTexture);
}