diff --git a/src/ca/tcpiiu.cpp b/src/ca/tcpiiu.cpp index 063bcab4c..a4d40f7bf 100644 --- a/src/ca/tcpiiu.cpp +++ b/src/ca/tcpiiu.cpp @@ -850,7 +850,7 @@ void tcpiiu::unresponsiveCircuitNotify ( { epicsGuardRelease < epicsMutex > unguard ( guard ); { - epicsGuardRelease < epicsMutex > unguard ( cbGuard ); + epicsGuardRelease < epicsMutex > cbUnguard ( cbGuard ); this->recvDog.cancel (); this->sendDog.cancel (); } diff --git a/src/ca/udpiiu.cpp b/src/ca/udpiiu.cpp index e8a59a9a4..0703d012f 100644 --- a/src/ca/udpiiu.cpp +++ b/src/ca/udpiiu.cpp @@ -286,7 +286,7 @@ void udpiiu::shutdown ( { epicsGuardRelease < epicsMutex > unguard ( guard ); { - epicsGuardRelease < epicsMutex > unguard ( cbGuard ); + epicsGuardRelease < epicsMutex > cbUnguard ( cbGuard ); if ( ! this->recvThread.exitWait ( 0.0 ) ) { unsigned tries = 0u;