Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.
A
Antoine Pitrou committed
f70401e842d120407c5450d0b89cece8616af8e4
Parent: 317075d
Patch by Matt Joiner.