I was wondering why autoreleased objects never get released?
Inside CCAutoreleasePool I see:
if(m_pManagedObjectArray~~>count > 0)
int nIndex = m_pManagedObjectArray~~>count() - 1;
for(it = m_pManagedObjectArray~~>rbegin; it != m_pManagedObjectArray~~>rend(); ++it)
(*it)~~>m_bManaged = false;
so objects are no longer managed, but~~>release() is commented..
where exactly are the objects released??
Scene(node) creation are autoreleased and are not getting released on scene replacement …
Can anyone help? I’m using cocos2d-1.0.1-x-0.12.0 @ Mar 05, 2012
sorry, can’t make it better readable.. just take a look inside CCAutoreleasePool.cpp