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

Install atexit handler #4070

Closed
willmcgugan opened this issue Jan 27, 2024 · 2 comments
Closed

Install atexit handler #4070

willmcgugan opened this issue Jan 27, 2024 · 2 comments

Comments

@willmcgugan
Copy link
Collaborator

willmcgugan commented Jan 27, 2024

If you ever have to kill a Textual app due to an infinite loop, the terminal will get stuck in unusuable state, and require a reset.

I wonder if it is possible to install an atexit handler, to gracefully exit application mode. Or some other mechanism...

@darrenburns
Copy link
Member

We chatted about this and don't think there's anything we can do here, as we can't handle SIGKILL.

Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

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

2 participants