Brian Kearns committed 0fb9480

clean up the thread's signals enabled count on thread exit

  • Participants
  • Parent commits 04926eb

Comments (0)

Files changed (1)

File pypy/module/thread/

                 del self._valuedict[ident]
             except KeyError:
+            try:
+                del self._signalsenabled[ident]
+            except KeyError:
+                pass
         # update the minicache to prevent it from containing an outdated value
         self._mostrecentkey = ident
         self._mostrecentvalue = value