Commits

Brian Kearns committed 0fb9480

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

Comments (0)

Files changed (1)

pypy/module/thread/threadlocals.py

                 del self._valuedict[ident]
             except KeyError:
                 pass
+            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