revert to using virtual destroy() to destroy timers

This commit is contained in:
Jeff Hill
2001-07-12 17:53:51 +00:00
parent b061bb6eb9
commit c61e68b4e3
22 changed files with 37 additions and 63 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ exAsyncWriteIO::~exAsyncWriteIO()
{
this->pv.removeIO();
if ( this->pv.getCAS() ) {
this->pv.getCAS()->destroyTimer ( this->timer );
this->timer.destroy ();
}
}
@@ -102,7 +102,7 @@ exAsyncReadIO::~exAsyncReadIO()
{
this->pv.removeIO ();
if ( this->pv.getCAS() ) {
this->pv.getCAS()->destroyTimer ( this->timer );
this->timer.destroy ();
}
}
+1 -1
View File
@@ -49,7 +49,7 @@ exPV::exPV ( pvInfo &setup, bool preCreateFlag, bool scanOnIn ) :
exPV::~exPV()
{
if ( this->getCAS() ) {
this->getCAS()->destroyTimer ( this->timer );
this->timer.destroy ();
}
this->info.unlinkPV();
}
+2 -2
View File
@@ -329,7 +329,7 @@ exAsyncExistIO::exAsyncExistIO ( const pvInfo &pviIn, const casCtx &ctxIn,
exAsyncExistIO::~exAsyncExistIO()
{
this->cas.removeIO ();
this->cas.destroyTimer ( this->timer );
this->timer.destroy ();
}
//
@@ -364,7 +364,7 @@ exAsyncCreateIO::exAsyncCreateIO ( pvInfo &pviIn, exServer &casIn,
exAsyncCreateIO::~exAsyncCreateIO()
{
this->cas.removeIO ();
this->cas.destroyTimer ( this->timer );
this->timer.destroy ();
}
//