<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Win32 CIPE: virtual destructor for CipeGenericIO?
From: Christof Meerwald <cmeerw,AT,web,DOT,de>
Date: Sat, 5 Apr 2003 15:36:49 +0200

Shouldn't the CipeGenericIO class have a virtual destructor?

It currently doesn't and therefore the destructors for CipeSocketIO,
CipeTapIO and CipeTaskIO are never called from CipeEngine::Purge.

But if I add a virtual desctructor to CipeGenericIO, the shutdown-script is
invoked twice: once in CipeSocketIO::Shutdown and another time in the
CipeSocketIO destructor - I guess one of these calls to the shutdown-script
should be removed then.

bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw,AT,jabber,DOT,at
mailto cmeerw at web.de





<< | Thread Index | >> ]    [ << | Date Index | >> ]