mirror of https://github.com/axmolengine/axmol.git
fixed #1273: Passed 'this' to unscheduleSelector rather than 'g_sharedTextureCache'.
This commit is contained in:
parent
895de701ba
commit
265cb135ad
|
@ -383,7 +383,7 @@ void CCTextureCache::addImageAsyncCallBack(ccTime dt)
|
|||
--s_nAsyncRefCount;
|
||||
if (0 == s_nAsyncRefCount)
|
||||
{
|
||||
CCDirector::sharedDirector()->getScheduler()->unscheduleSelector(schedule_selector(CCTextureCache::addImageAsyncCallBack), g_sharedTextureCache);
|
||||
CCDirector::sharedDirector()->getScheduler()->unscheduleSelector(schedule_selector(CCTextureCache::addImageAsyncCallBack), this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue