List within Types
BlitzMax Forums/BlitzMax Beginners Area/List within Types
| ||
Basically, I have the Main_List with Type A objects Now, Objects of type A have a field of Second_List of Type B I'm concerned about garbage collection, if I remove the link in the Main_List, will this also garbage collect the Second_List? Thanks Jim |
| ||
yes it will as long as nothing else outside of type A object references Second_List. |