Darwin is Delphi.
But yeah I agree with Michael, I used to be very careful to manually free all this stuff up (old habits) and then I did some very thorough testing and realised that I didn't need to do any of it, the GC did it all for me. The only use of freeing stuff up is if you want to free up some memory mid game (maybe when changing screens) and load the screen up dynamically each time.
But yeah I agree with Michael, I used to be very careful to manually free all this stuff up (old habits) and then I did some very thorough testing and realised that I didn't need to do any of it, the GC did it all for me. The only use of freeing stuff up is if you want to free up some memory mid game (maybe when changing screens) and load the screen up dynamically each time.