CCScheduler.cpp:436
tHashSelectorEntry *pElement;
for (pElement = m_pHashForSelectors; pElement != NULL;)
{
unscheduleAllSelectorsForTarget(pElement->target);
pElement = (tHashSelectorEntry *)pElement->hh.next;
}
But
unscheduleAllSelectorsForTarget(pElement->target);
can call
removeHashElement(pElement);
// CCScheduler.cpp:490
and then app crashed.