Revert "ui: restart if crash (#36746)" (#36754)

This reverts commit fa18bb9261.
This commit is contained in:
Maxime Desroches
2025-12-02 16:45:09 -08:00
committed by GitHub
parent 5393308d03
commit e7d349bf36
-4
View File
@@ -155,10 +155,6 @@ def manager_thread() -> None:
print(running)
cloudlog.debug(running)
if 'ui' in managed_processes and managed_processes['ui'].proc is not None and not managed_processes['ui'].proc.is_alive():
cloudlog.error(f'Restarting UI (exitcode {managed_processes["ui"].proc.exitcode})')
managed_processes['ui'].restart()
# send managerState
msg = messaging.new_message('managerState', valid=True)
msg.managerState.processes = [p.get_process_state_msg() for p in managed_processes.values()]