aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-07-17 14:57:27 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-07-17 14:57:27 -0700
commit54c31c782f069270f9ba380f6959be22e50d745b (patch)
treec8dac5e7ea287c2f49d068a836fa9d20e4622eb4
parentc9caedd95ae9568bd05e7655002487e9900cbc39 (diff)
release the g_epfd whent he engine is shutdown
-rw-r--r--src/core/lib/iomgr/ev_epoll1_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epoll1_linux.c b/src/core/lib/iomgr/ev_epoll1_linux.c
index fb54e9c954..dfe2d143a5 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 = {