Loading src/event/kqueue.cpp +4 −0 Changes for src/event/kqueue.cpp: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -248,6 +248,10 @@ namespace netplus { } int waitEventHandler(int timeout) override { // Flush any pending kqueue changes (new fds, re-arms) // before blocking — otherwise the kernel never sees them. _batch.flush(); struct timespec ts{}; struct timespec* pts = nullptr; Loading Loading
src/event/kqueue.cpp +4 −0 Changes for src/event/kqueue.cpp: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -248,6 +248,10 @@ namespace netplus { } int waitEventHandler(int timeout) override { // Flush any pending kqueue changes (new fds, re-arms) // before blocking — otherwise the kernel never sees them. _batch.flush(); struct timespec ts{}; struct timespec* pts = nullptr; Loading