Skip to content
Snippets Groups Projects
Commit 602edbba authored by Craig Tiller's avatar Craig Tiller Committed by GitHub
Browse files

Merge pull request #8306 from ctiller/erm

Add missing delete
parents 3750af12 624f4ba7
No related branches found
No related tags found
No related merge requests found
......@@ -243,6 +243,7 @@ class AsyncClient : public ClientImpl<StubType, RequestType> {
// this thread isn't supposed to shut down
std::lock_guard<std::mutex> l(shutdown_state_[thread_idx]->mutex);
if (shutdown_state_[thread_idx]->shutdown) {
delete ctx;
return true;
} else if (!ctx->RunNextState(ok, entry)) {
// The RPC and callback are done, so clone the ctx
......
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