mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-21 18:43:48 +01:00
kill fetch program on print stop
This commit is contained in:
parent
2b0f6287d7
commit
28e131f8de
@ -161,6 +161,8 @@ function M.stop_POST(request, response)
|
||||
end
|
||||
local rv,msg = printer:stopPrint(argGcode)
|
||||
|
||||
io.popen("killall print-fetch")
|
||||
|
||||
response:addData('id', argId)
|
||||
if rv then
|
||||
response:setSuccess()
|
||||
|
Loading…
Reference in New Issue
Block a user