mod_storage_internal: Close archive list after completion of iteration
This closes the two FDs that the random access list abstraction uses,
otherwise they are left to the garbage collector.
--- a/plugins/mod_storage_internal.lua Wed Nov 22 22:35:44 2023 +0100
+++ b/plugins/mod_storage_internal.lua Thu Nov 23 17:49:57 2023 +0100
@@ -258,6 +258,7 @@
return function()
local item = iter();
if item == nil then
+ list:close();
return
end
local key = item.key;