diff options
author | Dan Born <dborn@google.com> | 2016-09-26 15:51:42 -0700 |
---|---|---|
committer | Dan Born <dborn@google.com> | 2016-09-26 15:51:42 -0700 |
commit | 966a448a55fa64a5c4654b8cd9656b79cc4b5ba8 (patch) | |
tree | ee0512f073ab58df9eb6ac1fda0f21741bdc8d54 /src/core/lib/iomgr/tcp_server.h | |
parent | 930c2983d34507765305a56c329c2e354168184b (diff) |
Require non-NULL exec_ctx to unref.
Diffstat (limited to 'src/core/lib/iomgr/tcp_server.h')
-rw-r--r-- | src/core/lib/iomgr/tcp_server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_server.h b/src/core/lib/iomgr/tcp_server.h index 5a25d39a0c..9a390699b4 100644 --- a/src/core/lib/iomgr/tcp_server.h +++ b/src/core/lib/iomgr/tcp_server.h @@ -101,8 +101,8 @@ grpc_tcp_server *grpc_tcp_server_ref(grpc_tcp_server *s); void grpc_tcp_server_shutdown_starting_add(grpc_tcp_server *s, grpc_closure *shutdown_starting); -/* If the refcount drops to zero, delete s, and call (exec_ctx==NULL) or enqueue - a call (exec_ctx!=NULL) to shutdown_complete. */ +/* If the refcount drops to zero, enqueue calls on exec_ctx to + shutdown_listeners and delete s. */ void grpc_tcp_server_unref(grpc_exec_ctx *exec_ctx, grpc_tcp_server *s); /* Shutdown the fds of listeners. */ |