Skip to content

Commit

Permalink
[coro_rpc] fix callback logic error (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle authored Mar 23, 2023
1 parent 197b4e8 commit b8b82a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/coro_rpc/coro_rpc/coro_connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ class coro_connection : public std::enable_shared_from_this<coro_connection> {
this->callback_awaitor_handler_ = std::move(handler);
});
context_info->has_response_ = false;
rpc_call_type_ = rpc_call_type::non_callback;
continue;
}
resp_error_msg.clear();
Expand Down

0 comments on commit b8b82a7

Please sign in to comment.