fix manager crash on PC after going offroad

old-commit-hash: 7cfd6b1170f0ef46ad1df07821be9c6fd627cd25
This commit is contained in:
Adeeb Shihadeh
2021-03-07 21:52:20 -08:00
parent d7e1874549
commit 3ad7100cb4
+1 -1
View File
@@ -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)