mirror of
https://github.com/python/cpython.git
synced 2026-07-28 04:42:09 -04:00
Threads are gone after fork, so clear the queues too. Otherwise the
child process (here created via multiprocessing.Process) crashes on
interpreter exit.
(cherry picked from commit 1848ce61f3)
Co-authored-by: Andrei Bodrov <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>