fixed proper IO destroy when channel exits

This commit is contained in:
Jeff Hill
2001-03-21 16:11:24 +00:00
parent 7f874c909e
commit 31454ef08a

View File

@@ -1177,7 +1177,7 @@ void cac::destroyAllIO ( nciu &chan )
tsDLList < baseNMIU > eventQ;
{
epicsAutoMutex autoMutex ( this->defaultMutex );
while ( baseNMIU *pIO = eventQ.get () ) {
while ( baseNMIU *pIO = chan.cacPrivateListOfIO::eventq.get () ) {
this->ioTable.remove ( *pIO );
eventQ.add ( *pIO );
}