• Victor Stinner's avatar
    bpo-31326: ProcessPoolExecutor waits for the call queue thread (#3265) · b713adf2
    Victor Stinner authored
    * bpo-31326: ProcessPoolExecutor waits for the call queue thread
    
    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.
    
    * Fix for shutdown() being called twice.
    b713adf2
process.py 20.2 KB