We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1feccf7 + 1d9d0ca commit d11429eCopy full SHA for d11429e
newsfragments/1621.fix.rst
@@ -0,0 +1,2 @@
1
+On macOS and BSDs, explicitly close our wakeup socketpair when we're
2
+done with it.
trio/_core/_io_kqueue.py
@@ -44,6 +44,7 @@ def statistics(self):
44
45
def close(self):
46
self._kqueue.close()
47
+ self._force_wakeup.close()
48
49
def force_wakeup(self):
50
self._force_wakeup.wakeup_thread_and_signal_safe()
0 commit comments