add shouldBeRunning field to managerState (#22246)

old-commit-hash: 2f57f1729d
This commit is contained in:
Adeeb Shihadeh 2021-09-15 19:51:55 -07:00 committed by GitHub
parent b41c5e2393
commit dbc41b847d
2 changed files with 2 additions and 1 deletions

2
cereal

@ -1 +1 @@
Subproject commit 5c3520d53fd86cb07ff5151e8951d9db3e2d750e
Subproject commit 5b6f6772f92477f851e88113c5e75fa99e66b779

View File

@ -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