Closed ErikBjare closed 6 years ago
Oh, that sucks. I thought atexit
was a neat way to manage cases like this.
Edit: Someone on SO apparently knew this
Do you think try: ...; finally: ...
would work?
Alternatively we could just make all signals call sys.exit() which would trigger the atexit
.
Won't merge, closing.
With this the modules do not even exit properly with SIGINT (ctrl+c) and doesn't handle when it crashes any better.