Closed
Description
I can't always guarantee that users are going to properly use a library (calling init methods, cleanup methods, etc.).
Occasionally things die horribly and you want to provide stronger guarantees about when things fail.
Is there a way to hook up to an exit signal of sorts to execute code when a program exits regardless of the exit mechanism? Something like Python atexit?
Metadata
Metadata
Assignees
Labels
No labels