From 82d0e5adc2e75e80b14a13dc1447ca1520a0004f Mon Sep 17 00:00:00 2001 From: Nikola Kirov Date: Wed, 3 Jan 2024 23:02:45 +0200 Subject: [PATCH] fix --- src/ESPUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ESPUI.cpp b/src/ESPUI.cpp index c69a0e7..b853a1b 100644 --- a/src/ESPUI.cpp +++ b/src/ESPUI.cpp @@ -873,7 +873,7 @@ Control* ESPUIClass::getControlNoLock(uint16_t id) void ESPUIClass::updateControl(Control* control, int) { - if (!control) + if (!control || !ws) { return; }