From e8e92f36717dc0022466132e2bfd283c853a87b2 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 11 Oct 2005 07:07:49 +0000 Subject: [PATCH] Fix error of LocalTraceCollector: crash on exit from application --- src/SALOMELocalTrace/LocalTraceCollector.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOMELocalTrace/LocalTraceCollector.cxx b/src/SALOMELocalTrace/LocalTraceCollector.cxx index 5ff0874d3..0ab0763fa 100644 --- a/src/SALOMELocalTrace/LocalTraceCollector.cxx +++ b/src/SALOMELocalTrace/LocalTraceCollector.cxx @@ -163,7 +163,7 @@ void* LocalTraceCollector::run(void *bid) // Loop until there is no more buffer to print, // and no ask for end from destructor. - while ((!_threadToClose) || myTraceBuffer->toCollect() ) + while ((!_threadToClose) && myTraceBuffer->toCollect() ) { int fullBuf = myTraceBuffer->retrieve(myTrace); if (myTrace.traceType == ABORT_MESS) -- 2.39.2