Skip to content

Commit a5a353a

Browse files
committed
In KqueueIOManager, close the force-wakeup fd
This small bug was introduced in python-triogh-1551 Fixes python-triogh-1621
1 parent e90c2da commit a5a353a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trio/_core/_io_kqueue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def statistics(self):
4444

4545
def close(self):
4646
self._kqueue.close()
47+
self._force_wakeup.close()
4748

4849
def force_wakeup(self):
4950
self._force_wakeup.wakeup_thread_and_signal_safe()

0 commit comments

Comments
 (0)