Kindlegen not clearing /tmp when called through KCC
I have made an investigation about why the /tmp is not cleared when converting to MOBI.

First line top right is the original /tmp usage.
Second line is the same after performing an EPUB conversion: cache usage did not change.
The last line is the same after performing a MOBI conversion: cache usage increased, kindlegen could not clear its cache. Was it or its job killed to early? Did several kindlegen commands were thrown at the same time?
Can you reproduce?
This issue may be related to one of those makeMOBI functions here https://github.com/ciromattia/kcc/blob/259800e48b8622233d0a415d7a025f087de7e3cd/kindlecomicconverter/comic2ebook.py
PS: Tried to run kindlegen file.epub in my terminal and the cache was successfully cleared.
I will check it during refactor.
https://github.com/jisaacks/GitGutter/issues/284#issuecomment-257291258
May be related to this issue, it happens when working with temporary files. Sometimes the temporary files are not deleted because they do not exist already.
I've found that kcc don't delete either his own temporary file (jpeg) or the kindlegen-related ones
@as3ii @lapwat
is this bug still present after https://github.com/ciromattia/kcc/pull/459 ? waiting feedback in version v5.6.1
tested the v5.6.1 appimage: temporary files are deleted successfully
@as3ii Thanks, closing this