I was going to jump into thread and say, OMG sswift, why do you have to make everything so complicated, but then i realized I've had this problem myself. Or something similar.
Chains of memory left stranded. I had children and parents pointing at each other. If you cut the parent lose without unlinking the child they will stay in memory forever. I had to implement a destroy method for many of my objects.
There is some sample code of this happening in this old thread about a Delete method. Mark jumps in at the end.
http://www.blitzbasic.com/Community/posts.php?topic=50880#567962
Chains of memory left stranded. I had children and parents pointing at each other. If you cut the parent lose without unlinking the child they will stay in memory forever. I had to implement a destroy method for many of my objects.
There is some sample code of this happening in this old thread about a Delete method. Mark jumps in at the end.
http://www.blitzbasic.com/Community/posts.php?topic=50880#567962