Skip to content

Commit

Permalink
LUA: set connection = nil after closing.
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Feb 6, 2024
1 parent 2540e67 commit 9a68d5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ROMFS/scripts/maim_web.lua
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ local function update() -- this is the loop which periodically runs
end

connection:close()
connection = nil
end
end

Expand Down

0 comments on commit 9a68d5a

Please sign in to comment.