Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I am logging with an asynchronous library that required to call a flush function at exit to avoid loosing messages.
Since in the library after a fork os._exit is called I have no way to call this function automatically.
Is it possible to call sys.exit or the function register in atexit?