[3.6] bpo-31326: ProcessPoolExecutor waits for the call queue thread (#3265) by vstinner · Pull Request #3309 · python/cpython (original) (raw)

concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly
closes the call queue. Moreover, shutdown(wait=True) now also join
the call queue thread, to prevent leaking a dangling thread.

(cherry picked from commit b713adf)

https://bugs.python.org/issue31326