Close the file after reading

This commit is contained in:
NobWow 2022-07-18 00:34:18 +06:00 committed by Lars Müller
parent 7eb5f09752
commit 9f65d5df9a

@ -127,6 +127,7 @@ function process_bridge_listen(name, line_consumer, step)
line_consumer(line)
line = content:read()
end
content:close()
write(bridge.input, "")
end)
end
@ -150,4 +151,4 @@ function process_bridge_start(name, command, os_execute)
end
-- Export environment
return _ENV
return _ENV