mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 12:14:57 +01:00
WIP
This commit is contained in:
@@ -1126,6 +1126,10 @@ int DetectorImpl::acquire() {
|
||||
(end.tv_nsec - begin.tv_nsec) / 1000000000.0)
|
||||
<< " seconds";
|
||||
} catch (...) {
|
||||
if (dataProcessingThread.joinable()){
|
||||
setJoinThreadFlag(true);
|
||||
dataProcessingThread.join();
|
||||
}
|
||||
setAcquiringFlag(false);
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user