0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 02:53:49 +01:00

close popen filehandles

This commit is contained in:
Simon Voordouw 2017-07-06 18:10:31 +02:00
parent 634465fdd6
commit e5de852087

View File

@ -72,8 +72,8 @@ local function getCurrentPrint()
end end
local function stopFetch() local function stopFetch()
io.popen("killall print-fetch") io.popen("killall print-fetch"):close()
io.popen("rm /tmp/startcode /tmp/endcode") io.popen("rm /tmp/startcode /tmp/endcode"):close()
end end
function M.progress(request, response) function M.progress(request, response)