SIGN IN SIGN UP

GH-96827: Don't touch closed loops from executor threads (GH-96837)

* When chaining futures, skip callback if loop closed.
* When shutting down an executor, don't wake a closed loop.
(cherry picked from commit e9d63760fea8748638f6e495b5b07bd1805c9591)

Co-authored-by: Guido van Rossum <guido@python.org>
M
Miss Islington (bot) committed
a5c503f296a104d8b5b2e917a2f1ef71be888e1b
Parent: 6d7dbcc
Committed by GitHub <noreply@github.com> on 9/30/2022, 8:25:06 PM