From: Hwankyu Jhun Date: Mon, 11 Jan 2021 04:59:28 +0000 (+0900) Subject: Fix a wrong implementation of sync request handler X-Git-Tag: submit/tizen/20210111.051445~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d315fe4ba13f03b680eb5cbcc9b6ede861291d23;p=platform%2Fcore%2Fappfw%2Fcomponent-based-application.git Fix a wrong implementation of sync request handler Change-Id: I7ddc2d8aab2358fc6dd3d75b42f9023182e6da6d Signed-off-by: Hwankyu Jhun --- diff --git a/component_based/port/port.cc b/component_based/port/port.cc index c395194..9f7994a 100644 --- a/component_based/port/port.cc +++ b/component_based/port/port.cc @@ -128,6 +128,8 @@ void Port::Impl::OnSyncRequestReceived(const std::string& sender, pid_t pid, auto res = std::shared_ptr( new (std::nothrow) tizen_base::Parcel()); listener_->OnSyncRequest(sender_info, req, res); + std::copy(res->GetRaw().begin(), res->GetRaw().end(), + std::back_inserter(response)); } void Port::Impl::OnRequestReceived(const std::string& sender, pid_t pid,