Skip to content

Commit

Permalink
In KqueueIOManager, close the force-wakeup fd
Browse files Browse the repository at this point in the history
This small bug was introduced in python-triogh-1551

Fixes python-triogh-1621
  • Loading branch information
njsmith committed Jun 16, 2020
1 parent e90c2da commit a5a353a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trio/_core/_io_kqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def statistics(self):

def close(self):
self._kqueue.close()
self._force_wakeup.close()

def force_wakeup(self):
self._force_wakeup.wakeup_thread_and_signal_safe()
Expand Down

0 comments on commit a5a353a

Please sign in to comment.