React to both yz and toz stop commands

This commit is contained in:
glavic_a committed 2026-02-25 16:30:57 +01:00
1 parent 493095331f
commit 7c951a2f14
1 file changed
+1 -1
+1 -1
View File
@@ -160,7 +160,7 @@ class ESSSerializer:
)
self.producer.flush()
if isinstance(command, Stop):
if command.hist_id == self._active_histogram_yz:
if command.hist_id in [self._active_histogram_yz, self._active_histogram_tofz]:
self.count_stopped.set()
else:
return