From 4ba569a03f0209d7c4b06ee8fef78adb52b4af89 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 21 Feb 2003 02:28:32 +0000 Subject: [PATCH] fixed casChannel deleted after casPV that it was using was deleted --- src/cas/generic/casChannelI.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cas/generic/casChannelI.cc b/src/cas/generic/casChannelI.cc index 8070b3c34..f13d7cf7d 100644 --- a/src/cas/generic/casChannelI.cc +++ b/src/cas/generic/casChannelI.cc @@ -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 )