diff --git a/src/rest/api/api_printer.lua b/src/rest/api/api_printer.lua index 04b08ce..137926c 100644 --- a/src/rest/api/api_printer.lua +++ b/src/rest/api/api_printer.lua @@ -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()