From 9a68d5ae2f84fb6e944aec53234deb7aebb3adfb Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 5 Feb 2024 22:06:18 -0800 Subject: [PATCH] LUA: set connection = nil after closing. --- ROMFS/scripts/maim_web.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ROMFS/scripts/maim_web.lua b/ROMFS/scripts/maim_web.lua index 3a31226931594d..1ccd380b32a6d4 100644 --- a/ROMFS/scripts/maim_web.lua +++ b/ROMFS/scripts/maim_web.lua @@ -420,6 +420,7 @@ local function update() -- this is the loop which periodically runs end connection:close() + connection = nil end end