eliminate disconnect message from ca_task_exit

This commit is contained in:
Jeff Hill
2002-09-11 20:54:40 +00:00
parent abcbaeca9c
commit 761a87ea73
10 changed files with 25 additions and 173 deletions

View File

@@ -243,10 +243,12 @@ cac::~cac ()
// shutdown all tcp circuits
//
{
epicsGuard < callbackMutex > cbGuard ( this->cbMutex );
epicsGuard < cacMutex > guard ( this->mutex );
resTableIter < tcpiiu, caServerID > iter = this->serverTable.firstIter ();
while ( iter.valid() ) {
iter->initiateCleanShutdown ( guard );
// this causes a clean shutdown to occur
iter->removeAllChannels ( cbGuard, guard, *this );
iter++;
}
}