in reply to Re: DESTROYing an object
in thread DESTROYing an object
As for the second one, it depends. What else is there in the code? Each object created my this constructor will have two references to itself, so unless there's code to remove the self referentials, the objects will not be garbage collected before the end of the program. But that in itself isn't necessarely a memory leak.
Abigail
|
|---|