未验证 提交 8a6a339e 编写于 作者: 武毅 提交者: GitHub

Merge pull request #7889 from helinwang/send_err

Fix send op data race
...@@ -102,7 +102,7 @@ bool RPCClient::Wait() { ...@@ -102,7 +102,7 @@ bool RPCClient::Wait() {
return true; return true;
} }
std::vector<bool> a(req_count_); bool a[req_count_];
std::vector<std::future<void>> waits(req_count_); std::vector<std::future<void>> waits(req_count_);
for (int i = 0; i < req_count_; i++) { for (int i = 0; i < req_count_; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册