Freeing gadgets

BlitzMax Forums/BlitzMax Beginners Area/Freeing gadgets

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

My current project has a large amount of gadgets, its wrapped in a Type, when the main window is closed i just call END and the program finishes. is there a better way to do it to make sure all gadgets are freed or this this automatics?

thanks