Check status on initialize & shutdown the CQ
* If gRPC initialize failed we don't have a connection to begin with so can't call Read(). * Shutdown the CompletionQueue otherwise the thread won't exit. Bug: b/142400443 Test: internal unittests Change-Id: Ifc2a13e36bbdc640908ca1069afed855fc8cd790 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867313 Commit-Queue: Daniel Nicoara <dnicoara@chromium.org> Auto-Submit: Daniel Nicoara <dnicoara@chromium.org> Reviewed-by:Alex Sakhartchouk <alexst@chromium.org> Cr-Commit-Position: refs/heads/master@{#707463}
Showing
Please register or sign in to comment