code in CCScheduler::scheduleSelector :
….
if (! pElement)
{
pElement = (tHashSelectorEntry *)calloc(sizeof(*pElement), 1);
pElement->target = pTarget;
if (pTarget)
{
dynamic_cast<CCObject*>(pTarget)->retain();
}
……
SelectorProtocol is not subcalss of CCObject
I write some singlton (subclass from SelectorProtocol),this cause big problem…