fix-develop-build.sh
gongweibao 7 years ago committed by GitHub
parent a56b6637d2
commit 3a3f28f99b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -290,12 +290,18 @@ void GRPCClient::Proceed() {
c->Finish(false);
}
delete c;
bool notify = false;
{
std::lock_guard<std::mutex> lk(sync_mutex_);
req_count_--;
notify = (req_count_ <= 0 || !c->status_.ok());
}
delete c;
if (notify) {
sync_cond_.notify_all();
}
sync_cond_.notify_all();
}
VLOG(3) << "GRPCClient Proceed end";
}

Loading…
Cancel
Save