3 ms·
Autorelease only works if you put the object in the autorelease pool. Some calling conventions also put it in the pool for you but if all you did was manage poo
by jshier 3y ago
Autorelease only works if you put the object in the autorelease pool. Some calling conventions also put it in the pool for you but if all you did was manage pools you'd leak memory.
- manmal 3y agoI‘m aware, is that an obstacle? > if all you did was manage pools you'd leak memory I‘m not sure what you mean there.
- KerrAvon 3y agoYou can't rely solely on autorelease unless you're going to put literally everything in the autorelease pools, which would not be great for performance.
- deleted 3y ago[deleted]