Skip to content

Commit

Permalink
add one last TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Dec 20, 2024
1 parent 431f2ed commit 117fe04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trio/_core/_io_kqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def process_events(self, events: EventResult) -> None:
self._force_wakeup.drain()
continue
receiver = self._registered[key]
if event.flags & select.KQ_EV_ONESHOT:
if event.flags & select.KQ_EV_ONESHOT: # TODO: test this branch
del self._registered[key]
if isinstance(receiver, _core.Task):
_core.reschedule(receiver, outcome.Value(event))
Expand Down

0 comments on commit 117fe04

Please sign in to comment.