From 54c31c782f069270f9ba380f6959be22e50d745b Mon Sep 17 00:00:00 2001 From: Sree Kuchibhotla Date: Mon, 17 Jul 2017 14:57:27 -0700 Subject: [PATCH] release the g_epfd whent he engine is shutdown --- src/core/lib/iomgr/ev_epoll1_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/lib/iomgr/ev_epoll1_linux.c b/src/core/lib/iomgr/ev_epoll1_linux.c index fb54e9c9547..dfe2d143a50 100644 --- a/src/core/lib/iomgr/ev_epoll1_linux.c +++ b/src/core/lib/iomgr/ev_epoll1_linux.c @@ -965,6 +965,7 @@ static void pollset_set_del_pollset_set(grpc_exec_ctx *exec_ctx, static void shutdown_engine(void) { fd_global_shutdown(); pollset_global_shutdown(); + close(g_epfd); } static const grpc_event_engine_vtable vtable = {