Win32 CIPE: virtual destructor for CipeGenericIO?|
Christof Meerwald <cmeerw,AT,web,DOT,de>|
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.
http://cmeerw.org JID: cmeerw,AT,jabber,DOT,at
mailto cmeerw at web.de