This commit is contained in:
maliakal_d 2020-10-01 17:57:07 +02:00
parent f31260030b
commit a730a13cbe

View File

@ -419,11 +419,12 @@ void Module::stopAcquisition() {
}
} catch (...) {
// if receiver crashed, stop detector in any case
sendToDetectorStop(F_STOP_ACQUISITION);
return;
zmqstreaming = false;
}
sendToDetectorStop(F_STOP_ACQUISITION);
shm()->stoppedFlag = true;
// if rxr streaming and acquisition finished, restream dummy stop packet
if (zmqstreaming && (s == IDLE) && (r == IDLE)) {
restreamStopFromReceiver();