mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
Merge branch 'callbacksafe' of github.com:slsdetectorgroup/slsDetectorPackage into callbacksafe
This commit is contained in:
commit
bfe8cb7020
@ -604,6 +604,10 @@ void Implementation::stopReceiver() {
|
|||||||
acquisitionFinishedCallBack((tot / numThreads),
|
acquisitionFinishedCallBack((tot / numThreads),
|
||||||
pAcquisitionFinished);
|
pAcquisitionFinished);
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
|
// change status
|
||||||
|
status = IDLE;
|
||||||
|
LOG(logINFO) << "Receiver Stopped";
|
||||||
|
LOG(logINFO) << "Status: " << sls::ToString(status);
|
||||||
throw sls::RuntimeError(
|
throw sls::RuntimeError(
|
||||||
"Acquisition Finished Callback Error: " +
|
"Acquisition Finished Callback Error: " +
|
||||||
std::string(e.what()));
|
std::string(e.what()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user