diff options
-rw-r--r-- | Lib/threading.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index 766011f..c2b94a5 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -1010,13 +1010,7 @@ class Thread: except: self._invoke_excepthook(self) finally: - with _active_limbo_lock: - try: - # We don't call self._delete() because it also - # grabs _active_limbo_lock. - del _active[get_ident()] - except: - pass + self._delete() def _stop(self): # After calling ._stop(), .is_alive() returns False and .join() returns |