Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove temporary previews on exception #54

Open
tfuxu opened this issue Dec 29, 2023 · 0 comments
Open

Remove temporary previews on exception #54

tfuxu opened this issue Dec 29, 2023 · 0 comments

Comments

@tfuxu
Copy link
Owner

tfuxu commented Dec 29, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant