Wait for name resolutions to complete before shutting down iomgr.
This at least avoids crashing when shutting down during name resolution. There is still a memory leak to track down before I add a test that exposes this. This CL also makes some tiny cleanups and debuggability improvements. Change on 2014/12/11 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81882486
Showing
- src/core/channel/client_setup.c 1 addition, 1 deletionsrc/core/channel/client_setup.c
- src/core/iomgr/iomgr_libevent.c 26 additions, 6 deletionssrc/core/iomgr/iomgr_libevent.c
- src/core/iomgr/iomgr_libevent.h 2 additions, 0 deletionssrc/core/iomgr/iomgr_libevent.h
- src/core/iomgr/resolve_address_posix.c 8 additions, 1 deletionsrc/core/iomgr/resolve_address_posix.c
- src/core/iomgr/tcp_client_posix.c 8 additions, 0 deletionssrc/core/iomgr/tcp_client_posix.c
Loading
Please register or sign in to comment