mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 18:42:07 +08:00
add shouldBeRunning field to managerState (#22246)
old-commit-hash: 2f57f1729da92b10a7518849619b0c889b026a20
This commit is contained in:
+1
-1
Submodule cereal updated: 5c3520d53f...5b6f6772f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user