TList.Clear - do I have to worry about anything?

BlitzMax Forums/BlitzMax Beginners Area/TList.Clear - do I have to worry about anything?

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.

If you *only* have references to those TImages in the list, when you do a Clear the Garbage Collector will dispose of them (when, depending if you have it on auto or manual).

Care only about references. References inside a list are lost when the list is cleared, AFIIK. If you have references in other lists or whatever you have to dereference them too

Hope it helps