mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03: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
|
end
|
||||||
local rv,msg = printer:stopPrint(argGcode)
|
local rv,msg = printer:stopPrint(argGcode)
|
||||||
|
|
||||||
|
io.popen("killall print-fetch")
|
||||||
|
|
||||||
response:addData('id', argId)
|
response:addData('id', argId)
|
||||||
if rv then
|
if rv then
|
||||||
response:setSuccess()
|
response:setSuccess()
|
||||||
|
Loading…
Reference in New Issue
Block a user