Don't set the daemon flag for LoggingQueue process.

Because the ProcessManager already manages the LoggingQueue lifecycle.
This commit is contained in:
Dmitry Kuzmenko 2016-09-24 15:50:53 +03:00
parent a1e0afe1c7
commit c9c45a5d79

View File

@ -798,7 +798,6 @@ 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