JFJochStateMachine: Notify everyone on CalibrateDetector finished
This commit is contained in:
@@ -112,8 +112,9 @@ void JFJochStateMachine::CalibrateDetector(std::unique_lock<std::mutex> &ul) {
|
||||
throw;
|
||||
}
|
||||
SetState(JFJochState::Idle, "Calibration sequence done", BrokerStatus::MessageSeverity::Success);
|
||||
|
||||
logger.Info("Pedestal sequence done");
|
||||
logger.Info("Calibration sequence done");
|
||||
ul.unlock(); // Notify all outside of mutex
|
||||
c.notify_all();
|
||||
}
|
||||
|
||||
void JFJochStateMachine::TakeDarkMaskInternal(std::unique_lock<std::mutex> &ul) {
|
||||
|
||||
@@ -146,7 +146,7 @@ TEST_CASE("JFJochStateMachine_AddDetectorSetup_Gain") {
|
||||
}
|
||||
|
||||
TEST_CASE("JFJochStateMachine_AddDetectorSetup_Multiple") {
|
||||
Logger logger("JFJochBrokerService_StorageCells");
|
||||
Logger logger("JFJochStateMachine_AddDetectorSetup_Multiple");
|
||||
JFJochServices services(logger);
|
||||
DiffractionExperiment experiment;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user