SomeCCNode::~SomeCCNode()
{
this->removeAllChildrenWithCleanup(true);
}
Same code is run smoothly on iOS, but crashes 9 out of 10 on android,
I followed in CCNode::removeAllChildrenWithCleanup, CCLog-ed some messages, found out :
m_pChildren->removeAllObjects()
is the one that crashes,
Is it not safe to explicitly invoke CCArray::removeAllObjects() or even CCNode::removeAllChildrenWithCleanup(bool)