Skip to content

Commit 79fd697

Browse files
Update Lib/importlib/_bootstrap.py
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
1 parent 65c845f commit 79fd697

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/importlib/_bootstrap.py

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def __exit__(self, *args, **kwargs):
8989
# gh-101766: glboal cache should be cleaned-up
9090
# if there is no more _blocking_on for this thread.
9191
del _blocking_on[self.thread_id]
92+
del self.blocked_on
9293

9394

9495
class _DeadlockError(RuntimeError):

0 commit comments

Comments
 (0)