Currently if Halftone crashes or doesn't close properly, it just exits from main loop and doesn't do any cleaning. Instead, it should remove any remaining temporary preview files.
To do this, main loop (and threads) can be connected to the custom excepthook. More info here.
Currently if Halftone crashes or doesn't close properly, it just exits from main loop and doesn't do any cleaning. Instead, it should remove any remaining temporary preview files.
To do this, main loop (and threads) can be connected to the custom excepthook. More info here.