receiver crash solved

This commit is contained in:
Dhanya Maliakal 2015-07-24 10:45:11 +02:00
parent 0d83346943
commit 24dcc45f5b

View File

@ -467,8 +467,11 @@ void slsDetectorUtils::acquire(int delflag){
pthread_mutex_unlock(&mg); pthread_mutex_unlock(&mg);
if (measurement_finished) if (measurement_finished){
pthread_mutex_lock(&mg);
measurement_finished(im,*fileIndex,measFinished_p); measurement_finished(im,*fileIndex,measFinished_p);
pthread_mutex_unlock(&mg);
}
if (*stoppedFlag) { if (*stoppedFlag) {
break; break;