JFJochStateMachine: Notify everyone on CalibrateDetector finished

This commit is contained in:
2026-04-28 15:54:32 +02:00
parent 38358e51b0
commit a7e98e91ab
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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) {
+1 -1
View File
@@ -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;