aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-10-18 19:52:33 +0000
committerGravatar Craig Tiller <ctiller@google.com>2017-10-18 19:52:33 +0000
commite29196b2a777e3ce3ab19e9a9c46ae7a9d90526e (patch)
treeed4bf8b85533b676fa1c66d58edd551b288f931e /src
parent25d16313eefe9a1e5594aa9218d65edc820c4c2d (diff)
Fix bad bug
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/ev_epollex_linux.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc b/src/core/lib/iomgr/ev_epollex_linux.cc
index f151bff441..fa6d79cbfc 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.cc
+++ b/src/core/lib/iomgr/ev_epollex_linux.cc
@@ -472,6 +472,8 @@ static grpc_error *pollable_create(pollable_type type, pollable **p) {
(*p)->pollset_set = NULL;
(*p)->next = (*p)->prev = *p;
(*p)->root_worker = NULL;
+ (*p)->event_cursor = 0;
+ (*p)->event_count = 0;
return GRPC_ERROR_NONE;
}