Thats why cyclic references can be a problem, you could add a destroy method to your class that you explicitly call that nils the reference to child.
Until BlitzMax's GC can detect cyclic references you have to resolve them yourself.
Until BlitzMax's GC can detect cyclic references you have to resolve them yourself.