fix manager crash on PC after going offroad

This commit is contained in:
Adeeb Shihadeh
2021-03-07 21:52:20 -08:00
parent 51d46e289a
commit 7cfd6b1170
+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)