fixed casChannel deleted after casPV that it was using was deleted

This commit is contained in:
Jeff Hill
2003-02-21 02:28:32 +00:00
parent 57a9364c72
commit 4ba569a03f

View File

@@ -30,10 +30,10 @@ casChannelI::~casChannelI ()
{
this->pv.destroyAllIO ( this->ioList );
this->chan.destroy ();
// force PV delete if this is the last channel attached
this->pv.deleteSignal ();
this->chan.destroy ();
}
void casChannelI::uninstallFromPV ( casEventSys & eventSys )