diff --git a/src/dpp/socketengines/kqueue.cpp b/src/dpp/socketengines/kqueue.cpp index e3204c3732..dda636b145 100644 --- a/src/dpp/socketengines/kqueue.cpp +++ b/src/dpp/socketengines/kqueue.cpp @@ -89,6 +89,7 @@ struct socket_engine_kqueue : public socket_engine_base { } } } + prune(); } bool register_socket(const socket_events& e) final { diff --git a/src/dpp/socketengines/poll.cpp b/src/dpp/socketengines/poll.cpp index 6b9b09eb4f..f0dd308b85 100644 --- a/src/dpp/socketengines/poll.cpp +++ b/src/dpp/socketengines/poll.cpp @@ -99,6 +99,7 @@ struct socket_engine_poll : public socket_engine_base { eh->on_write(fd, *eh); } } + prune(); } bool register_socket(const socket_events& e) final {