fix manager crash on PC after going offroad

old-commit-hash: 7cfd6b1170
commatwo_master
Adeeb Shihadeh 5 years ago
parent d7e1874549
commit 3ad7100cb4
  1. 2
      selfdrive/manager/manager.py

@ -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)

Loading…
Cancel
Save