From 96b0c211d1604e7dfdd2d691c45658ee6b134021 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 28 Nov 2023 14:10:37 -0800 Subject: [PATCH] Fix websocket input processing It was skipped in many cases which breaks ctrl-cing running code. Fixes #8132 --- supervisor/shared/web_workflow/web_workflow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/supervisor/shared/web_workflow/web_workflow.c b/supervisor/shared/web_workflow/web_workflow.c index 09c322eb23..bf495f689a 100644 --- a/supervisor/shared/web_workflow/web_workflow.c +++ b/supervisor/shared/web_workflow/web_workflow.c @@ -1515,9 +1515,11 @@ void supervisor_web_workflow_background(void *data) { } break; } - websocket_background(); - break; } + + // Let the websocket code run. + websocket_background(); + // Resume polling socketpool_socket_poll_resume();