Revert "Don't set the daemon flag for LoggingQueue process."

This reverts commit c9c45a5d79.
This commit is contained in:
Dmitry Kuzmenko 2016-10-26 17:09:19 +03:00
parent d1a6bb72ac
commit 9ee24b2d70

View File

@ -798,6 +798,7 @@ def setup_multiprocessing_logging_listener(opts, queue=None):
target=__process_multiprocessing_logging_queue,
args=(opts, queue or get_multiprocessing_logging_queue(),)
)
__MP_LOGGING_QUEUE_PROCESS.daemon = True
__MP_LOGGING_QUEUE_PROCESS.start()
__MP_LOGGING_LISTENER_CONFIGURED = True