controlsd: check if process should be running (#24250)

This commit is contained in:
Adeeb Shihadeh
2022-04-18 14:57:04 -07:00
committed by GitHub
parent ce91f4564d
commit 067273b8e7
+1 -1
View File
@@ -369,7 +369,7 @@ class Controls:
self.events.add(EventName.localizerMalfunction)
# Check if all manager processes are running
not_running = {p.name for p in self.sm['managerState'].processes if not p.running}
not_running = {p.name for p in self.sm['managerState'].processes if not p.running and p.shouldBeRunning}
if self.sm.rcv_frame['managerState'] and (not_running - IGNORE_PROCESSES):
self.events.add(EventName.processNotRunning)