mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
fix manager crash on PC after going offroad
old-commit-hash: 7cfd6b1170f0ef46ad1df07821be9c6fd627cd25
This commit is contained in:
@@ -153,7 +153,7 @@ def manager_thread():
|
||||
ensure_running(managed_processes.values(), started, driverview, not_run)
|
||||
|
||||
# trigger an update after going offroad
|
||||
if started_prev and not started:
|
||||
if started_prev and not started and 'updated' in managed_processes:
|
||||
os.sync()
|
||||
managed_processes['updated'].signal(signal.SIGHUP)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user