Are images automatic freed at program termination?

Blitz3D Forums/Blitz3D Beginners Area/Are images automatic freed at program termination?

Darth Testine(Posted 2004) [#1]
Do we have to free each image, font, etc before ending the program?

Or is all of that released automatically?

Thanks!


jhocking(Posted 2004) [#2]
All resources are freed automatically when the program ends. But, tt is a good idea to track all your resources so that they are easy to free/load en masse for stuff like level changing.


DNielsen(Posted 2004) [#3]
Most importantly in my opinion, it is good programming practice to check everything you allocate, and manually free all resources taken before terminating a program.


Rhyolite(Posted 2004) [#4]
Yeah, its the mid-game stuff you have to watch. So, yeah, good programming practice is the key.


Darth Testine(Posted 2004) [#5]
Thanks everyone!