On Mar 14, 2005, at 3:00 PM, Thomas Tempelmann wrote:
Norman Palardy wrote:
BUT, class2Vars destructor is not being called IF there already is an
instance.
Have you considered the possibility that all the "leaking" objs are
only
destructed when you leave the method in which they were constructed?
Thanks ... this twigged something so I watched for when objects get
destroyed in a loop like this.
In a loop I'm seeing
iteration 1
construct 1
next iteration
construct 2
destroy 1 (as part of the assignment I assume)
next iteration
construct 3
destroy 2
and the destruction of 3 is happening much later on in the testing
method than I had expected
That last one gets destroyed when things go out of scope
Sorry for the stupid qiuestions
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|