diff --git a/src/ca/tcpiiu.cpp b/src/ca/tcpiiu.cpp index c2f29e5a2..2df3072fa 100644 --- a/src/ca/tcpiiu.cpp +++ b/src/ca/tcpiiu.cpp @@ -26,6 +26,8 @@ #define epicsAssertAuthor "Jeff Hill johill@lanl.gov" +#include "errlog.h" + #define epicsExportSharedSymbols #include "localHostName.h" #include "iocinf.h" @@ -220,8 +222,6 @@ void tcpSendThread::run () } } - this->thread.exitWaitRelease (); - this->iiu.cacRef.destroyIIU ( this->iiu ); } @@ -443,7 +443,6 @@ void tcpRecvThread::run () } if ( ! connectSuccess ) { this->iiu.recvDog.shutdown (); - this->thread.exitWaitRelease (); this->iiu.cacRef.destroyIIU ( this->iiu ); return; }