Code review changes.

reviewable/pr8782/r4
Mark D. Roth 8 years ago
parent 158a4a42b2
commit 8aa2f70f57
  1. 3
      src/core/ext/client_channel/http_connect_handshaker.c

@ -126,6 +126,9 @@ static void handshake_failed_locked(grpc_exec_ctx* exec_ctx,
// Not shutting down, so the handshake failed. Clean up before
// invoking the callback.
cleanup_args_for_failure_locked(handshaker);
// Set shutdown to true so that subsequent calls to
// http_connect_handshaker_shutdown() do nothing.
handshaker->shutdown = true;
}
// Invoke callback.
grpc_exec_ctx_sched(exec_ctx, handshaker->on_handshake_done, error, NULL);

Loading…
Cancel
Save