close file handles when we're done reading them

This commit is contained in:
Izaya 2023-11-13 22:12:18 +10:00
parent efd83d6b8e
commit 776e19df41

View File

@ -133,6 +133,7 @@ elseif opts.c then
break break
end end
end end
inputf:close()
vp(c) vp(c)
else else
vp("failed to open.") vp("failed to open.")