add shouldBeRunning field to managerState (#22246)

old-commit-hash: 2f57f1729da92b10a7518849619b0c889b026a20
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
+1 -1
Submodule cereal updated: 5c3520d53f...5b6f6772f9
+1
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