shanshanpt opened a new issue, #3016:
URL: https://github.com/apache/brpc/issues/3016

   hi,你好,请教一下,Client侧传入CallMethod函数中done的生命周期管理问题,done函数指针是brpc回收还是用户自己来free?
   ```
   google::protobuf::Closure* done = brpc::NewCallback(...);
   channel->CallMethod(nullptr, cntl, nullptr, nullptr, done);
   ```
   目的是想在client侧异步处理post response,但是又不想管理这个done函数。
   
   谢谢.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to