diff options
author | 2018-01-25 19:59:15 +0100 | |
---|---|---|
committer | 2018-01-25 20:03:48 +0100 | |
commit | 0a6d9005240f2cc72ecea9f4a7c117e55c534c64 (patch) | |
tree | 45a7c7cccec96829bae3aacec91a3047e946c484 | |
parent | 6fe650908f688d4ad88b8abe3631c14ec9e34c44 (diff) |
explicitly initialize all grpc_pollset fields (epollex)
-rw-r--r-- | src/core/lib/iomgr/ev_epollex_linux.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc b/src/core/lib/iomgr/ev_epollex_linux.cc index 54a93ecb63..5412358ab8 100644 --- a/src/core/lib/iomgr/ev_epollex_linux.cc +++ b/src/core/lib/iomgr/ev_epollex_linux.cc @@ -679,6 +679,11 @@ static grpc_error* pollset_kick_all(grpc_pollset* pollset) { static void pollset_init(grpc_pollset* pollset, gpr_mu** mu) { gpr_mu_init(&pollset->mu); pollset->active_pollable = POLLABLE_REF(g_empty_pollable, "pollset"); + pollset->kicked_without_poller = false; + pollset->shutdown_closure = nullptr; + pollset->already_shutdown = false; + pollset->root_worker = nullptr; + pollset->containing_pollset_set_count = 0; *mu = &pollset->mu; } |