Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

Kill fetching processes in more cases #74

Closed peteruithoven closed 7 years ago

peteruithoven commented 7 years ago

Currently the printer/stop endpoint stops all fetching processes and clears the temp files. As a precaution I'd like to also execute this when printer/print is called and before a new print-fetch process is started in printer/fetch. This makes sure there are no edge cases where it can be running in the background when it's not wanted.

It might be nice to put this into a reusable function that combines all stop fetching logic.