Skip to content
Snippets Groups Projects
Commit 8aa2f70f authored by Mark D. Roth's avatar Mark D. Roth
Browse files

Code review changes.

parent 158a4a42
No related branches found
No related tags found
No related merge requests found
...@@ -126,6 +126,9 @@ static void handshake_failed_locked(grpc_exec_ctx* exec_ctx, ...@@ -126,6 +126,9 @@ static void handshake_failed_locked(grpc_exec_ctx* exec_ctx,
// Not shutting down, so the handshake failed. Clean up before // Not shutting down, so the handshake failed. Clean up before
// invoking the callback. // invoking the callback.
cleanup_args_for_failure_locked(handshaker); 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. // Invoke callback.
grpc_exec_ctx_sched(exec_ctx, handshaker->on_handshake_done, error, NULL); grpc_exec_ctx_sched(exec_ctx, handshaker->on_handshake_done, error, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment