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
95609525de4efd4125390ab8ae82af7bc908cc0d
Parent: 3124618
Committed by GitHub <noreply@github.com> on 9/30/2022, 8:23:33 PM