From b8b82a772736f0ca53ac9542edbea5353602ca78 Mon Sep 17 00:00:00 2001 From: saipubw Date: Thu, 23 Mar 2023 15:03:37 +0800 Subject: [PATCH] [coro_rpc] fix callback logic error (#249) --- include/coro_rpc/coro_rpc/coro_connection.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/coro_rpc/coro_rpc/coro_connection.hpp b/include/coro_rpc/coro_rpc/coro_connection.hpp index 773339ed8..43fc160d9 100644 --- a/include/coro_rpc/coro_rpc/coro_connection.hpp +++ b/include/coro_rpc/coro_rpc/coro_connection.hpp @@ -241,6 +241,7 @@ class coro_connection : public std::enable_shared_from_this { 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();