mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-21 18:43:48 +01:00
close popen filehandles
This commit is contained in:
parent
634465fdd6
commit
e5de852087
@ -72,8 +72,8 @@ local function getCurrentPrint()
|
||||
end
|
||||
|
||||
local function stopFetch()
|
||||
io.popen("killall print-fetch")
|
||||
io.popen("rm /tmp/startcode /tmp/endcode")
|
||||
io.popen("killall print-fetch"):close()
|
||||
io.popen("rm /tmp/startcode /tmp/endcode"):close()
|
||||
end
|
||||
|
||||
function M.progress(request, response)
|
||||
|
Loading…
Reference in New Issue
Block a user