print warning message if IO is still installed in tcp iiu when

it disconnects
This commit is contained in:
Jeff Hill
2001-01-31 01:59:32 +00:00
parent 321dae127a
commit 1bb85f670c

View File

@@ -655,9 +655,11 @@ void tcpiiu::disconnect ()
{
assert ( this->fullyConstructedFlag );
{
epicsAutoMutex autoMutex ( this->mutex );
this->ioTable.traverse ( &baseNMIU::destroy );
// if we get here and the IO is still attached then we have an
// io block that was not registered with a channel.
if ( this->ioTable.numEntriesInstalled () ) {
this->pCAC ()->printf ( "CA connection disconnect with %u IO items still installed?\n",
this->ioTable.numEntriesInstalled () );
}
this->cleanShutdown ();