diff options
author | 2015-11-20 09:49:36 -0800 | |
---|---|---|
committer | 2015-11-20 09:49:36 -0800 | |
commit | 5e72a35498d599cf47e1aa42d9917d6056fc6d8e (patch) | |
tree | 5d59cad77cb94621b6696627a6655c27e722eb28 /src/core/security/server_secure_chttp2.c | |
parent | 5e7f08a06368c36ebfdc5880629cbaaef50788f6 (diff) |
make security_connector manage pending handshaker, while handshaker owns tcp
Diffstat (limited to 'src/core/security/server_secure_chttp2.c')
-rw-r--r-- | src/core/security/server_secure_chttp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/security/server_secure_chttp2.c b/src/core/security/server_secure_chttp2.c index 452ac2c1d3..c161541ee8 100644 --- a/src/core/security/server_secure_chttp2.c +++ b/src/core/security/server_secure_chttp2.c @@ -145,9 +145,9 @@ static void start(grpc_exec_ctx *exec_ctx, grpc_server *server, void *statep, static void destroy_done(grpc_exec_ctx *exec_ctx, void *statep, int success) { grpc_server_secure_state *state = statep; + grpc_security_connector_shutdown(exec_ctx, state->sc); state->destroy_callback->cb(exec_ctx, state->destroy_callback->cb_arg, success); - grpc_security_connector_shutdown(exec_ctx, state->sc); state_unref(state); } |