better destroy sequence

This commit is contained in:
Jeff Hill
2001-01-25 02:12:03 +00:00
parent dc3d2b9ff9
commit c50d84e50d

View File

@@ -21,7 +21,10 @@ cacNotify::~cacNotify ()
cacNotifyIO *pTmpIO = this->pIO;
if ( pTmpIO ) {
this->pIO = 0;
pTmpIO->destroy ();
// the code fits together better in iother places
// if the delete and the uninstall are speparate steps
pTmpIO->uninstall ();
delete pTmpIO;
}
}