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?
The test is written like
debugDumpObjects
doTest
debugDumpObjects
doTest is a method I call that embodies my tests so all objects go out
of scope and the destructors should run.
I wrote it this way specifically to account for the possibility that I
neglect to nil something (and really I shouldn't have to if things work
right)
I think I'll need to do a bit more to my object creation to put
timestamps on them so I can see if all the destructors do get called.
Just counts of constructor/destructors suggests that 1 destructor gets
missed and that is the object that leaks.
_______________________________________________
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>
|