From 4958d198d17c664d45f182d34b3d664276cd1994 Mon Sep 17 00:00:00 2001 From: Maliakal Dhanya Date: Tue, 20 May 2014 17:36:24 +0200 Subject: [PATCH] post processing does not wait if more than one positions-Annas change --- slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp b/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp index b529e2fcb..6ef15881b 100644 --- a/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp +++ b/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp @@ -255,7 +255,7 @@ data queue size unlock if ((GetCurrentPositionIndex()>=npos && dataQueueSize()) || npos<2) { //&& - while(positionFinished()==0) { + while(positionFinished()==0 && npos>1) { ; } #ifdef VERBOSE