From 720283754dfb834674be1bf11024de92b93472f1 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 9 Jul 2002 20:42:35 +0000 Subject: [PATCH] call errlogFlush() in ~cac --- src/ca/cac.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ca/cac.cpp b/src/ca/cac.cpp index 2f21b2425..f3a037f40 100644 --- a/src/ca/cac.cpp +++ b/src/ca/cac.cpp @@ -264,6 +264,8 @@ cac::~cac () this->timerQueue.release (); + errlogFlush (); + // its ok for channels and subscriptions to still // exist at this point. The user created them and // its his responsibility to clean them up. @@ -1456,8 +1458,8 @@ void cac::vSignal ( int ca_status, const char *pfilenm, */ if( ! ( ca_status & CA_M_SUCCESS ) && CA_EXTRACT_SEVERITY ( ca_status ) != CA_K_WARNING ){ - errlogFlush(); - abort(); + errlogFlush (); + abort (); } this->printf ( "..................................................................\n" );