PrusaControl
PrusaControl copied to clipboard
controller - implement tmp file cleanup
This implements tmp file cleanup. It's not a good idea to leave tmp files behind after exit as they can be quite large. A lot of Linux configurations set up /tmp in ram, so you end up wasting a lot of ram, potentially causing problems.
It may be a good idea to move the initialization of tmp_place which is currently in AppParameters to Controller although I haven't done this in this pull request.