Skip to content

Commit f095579

Browse files
committed
close the kqueue
1 parent 9cbed00 commit f095579

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rpp/pos/async_bsd.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ void Event::reset() const noexcept {
8181
if((count < 0) || (signaled.flags == EV_ERROR)) {
8282
die("Failed to wait on kevents: %", Log::sys_error());
8383
}
84+
close(kq);
85+
8486
if(count == 0) {
8587
return wait_any(events);
8688
}

0 commit comments

Comments
 (0)