tfuxu / Halftone

Give your images that pixel art-like style
GNU General Public License v3.0
101 stars 16 forks source link

Remove temporary previews on exception #54

Open tfuxu opened 10 months ago

tfuxu commented 10 months ago

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.