comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Cleaning up inherited object classes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Cleaning up inherited object classes [message #37177 is a reply to message #37172] Wed, 03 December 2003 12:28 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Tupper writes:

> I would defer to other's on the question if a subclass MUST have its own
> CLEANUP method. I haven't tried it, but I'm not sure that it does
> (unless it has its own pointers and objects to cleanup.)

I'll tell you this, I have spent an *untold* number
of hours chasing down memory leaks only to find that
I forget to call a superclass CLEANUP method from my
object's CLEANUP method! I've done it so often this
is the *FIRST* thing I look for when I'm chasing
memory leaks now.

Who says you can't teach an old dog new tricks?

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Active Contours and Snakes! Oh, my!
Next Topic: Re: Active Contours and Snakes! Oh, my!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:40:22 PDT 2025

Total time taken to generate the page: 1.28049 seconds