Commit ce798b1e authored by louiz’'s avatar louiz’

Fix build with POLLER=POLL

parent 06439fa2
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment