You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jean-Noël Quintin (JIRA)" <ji...@apache.org> on 2017/07/27 07:00:00 UTC

[jira] [Created] (THRIFT-4267) Python Forked process exit without calling atexit functions

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)