~singpolyma/biboumi

ce798b1e8cfce7df69e0e91400c96090447a5ea8 — louiz’ 7 years ago 06439fa
Fix build with POLLER=POLL
1 files changed, 2 insertions(+), 0 deletions(-)

M louloulibs/network/poller.cpp
M louloulibs/network/poller.cpp => louloulibs/network/poller.cpp +2 -0
@@ 28,8 28,10 @@ Poller::Poller()

Poller::~Poller()
{
#if POLLER == EPOLL
  if (this->epfd > 0)
    ::close(this->epfd);
#endif
}

void Poller::add_socket_handler(SocketHandler* socket_handler)