mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 08:34:47 +08:00
fix null pointer
This commit is contained in:
@@ -630,7 +630,7 @@ private:
|
||||
auto &f = future_map_[req_id];
|
||||
if (ec) {
|
||||
// LOG<<ec.message();
|
||||
if (!f) {
|
||||
if (f) {
|
||||
// std::cout << "invalid req_id" << std::endl;
|
||||
f->set_value(req_result{""});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user