Jean-Noël Quintin created THRIFT-4267:
-----------------------------------------
Summary: Python Forked process exit without calling atexit
functions
Key: THRIFT-4267
URL: https://issues.apache.org/jira/browse/THRIFT-4267
Project: Thrift
Issue Type: Bug
Components: Python - Library
Reporter: Jean-Noël Quintin
Priority: Minor
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?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)