Object with data member that contains Self

BlitzMax Forums/BlitzMax Programming/Object with data member that contains Self

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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.