Say Object A creates Object B, where B has an attribute that is Object A.
If A goes out of scope, do A and B get cleaned up, or do I need to write something in the DEMOLISH method to deal with this circular relationship?
Say Object A creates Object B, where B has an attribute that is Object A.
If A goes out of scope, do A and B get cleaned up, or do I need to write something in the DEMOLISH method to deal with this circular relationship?