opened
dopiera
username_0
This fixes #5670.

Before this PR, `NotifyOnStateChange()` could be called on a
`grpc::CompletionQueue` which was shut down via `Shutdown()`. This PR
makes `AsyncConnectionReadyFuture` use
`CompletionQueueImpl::StartOperation` to make sure that the whole
operation either fails with `StatusCode::kCancelled` or there is a
guarantee that the `CompletionQueue` is not shut down.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/googleapis/google-cloud-cpp/5676)
<!-- Reviewable:end -->
fix: don't wait for state change on shut down CQ
issue
created
coryan
username_1
I think #5701 addresses the same problem, closing for now.
comment