mirror of https://github.com/commaai/openpilot.git
add shouldBeRunning field to managerState (#22246)
old-commit-hash: 2f57f1729d
This commit is contained in:
parent
b41c5e2393
commit
dbc41b847d
2
cereal
2
cereal
|
@ -1 +1 @@
|
|||
Subproject commit 5c3520d53fd86cb07ff5151e8951d9db3e2d750e
|
||||
Subproject commit 5b6f6772f92477f851e88113c5e75fa99e66b779
|
|
@ -160,6 +160,7 @@ class ManagerProcess(ABC):
|
|||
state.name = self.name
|
||||
if self.proc:
|
||||
state.running = self.proc.is_alive()
|
||||
state.shouldBeRunning = self.proc is not None and not self.shutting_down
|
||||
state.pid = self.proc.pid or 0
|
||||
state.exitCode = self.proc.exitcode or 0
|
||||
return state
|
||||
|
|
Loading…
Reference in New Issue