revert to using virtual destroy() to destroy timers
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 ();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user