]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Added a new condition to get out of while cycle in a mthod run
authorsrn <srn@opencascade.com>
Tue, 6 Sep 2005 05:22:56 +0000 (05:22 +0000)
committersrn <srn@opencascade.com>
Tue, 6 Sep 2005 05:22:56 +0000 (05:22 +0000)
src/SALOMETraceCollector/SALOMETraceCollector.cxx

index b9c2914b63fc1efeee9cf680a7c7cb60866c2868..132ea3038da237e0bb674e585fcd558c9a7723c4 100644 (file)
@@ -197,6 +197,8 @@ void* SALOMETraceCollector::run(void *bid)
 
       while ((!_threadToClose) || myTraceBuffer->toCollect() )
        {
+          if(_threadToClose) break; 
+
          int fullBuf = myTraceBuffer->retrieve(myTrace);
          if (myTrace.traceType == ABORT_MESS)
            {