mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-05 16:25:41 +08:00
add shouldBeRunning field to managerState (#22246)
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