diff --git a/server/robotserver/httpproxy.cc b/server/robotserver/httpproxy.cc index 18e7f714..a94dce69 100644 --- a/server/robotserver/httpproxy.cc +++ b/server/robotserver/httpproxy.cc @@ -43,7 +43,10 @@ protected: [this, _self = shared_from_this()] (bool ret, a8::XObject* xobj, f8::HttpContext* context) { - SetResult({ret, *xobj}); + std::shared_ptr data = std::make_shared(); + *data = *xobj; + SetResult({ret, data}); + DoDone(); }, url_.c_str(), url_params_);