eliminated very short window where channel could be installed

by udp thread while  iiu is being destroyed.
This commit is contained in:
Jeff Hill
2004-09-02 19:47:31 +00:00
parent d7cf7531b2
commit 1f791db248

View File

@@ -1154,10 +1154,7 @@ void cac::destroyIIU ( tcpiiu & iiu )
assert ( this->pudpiiu );
iiu.removeAllChannels ( false, cbGuard, guard, *this->pudpiiu );
}
{
epicsGuard < epicsMutex > guard ( this->mutex );
this->serverTable.remove ( iiu );
this->circuitList.remove ( iiu );
}