mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 17:23:51 +08:00
fix manager crash on PC after going offroad
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