describe2022 commented on issue #1097: URL: https://github.com/apache/incubator-brpc/issues/1097#issuecomment-1367840584
> btw:StreamClose这里有个坑,因为client端上层传给brpc的是handler的指针,有可能上层析构了on_closed还会被调用,有可能访问到已经析构了的数据,这块需要处理一下 请问一下这块怎么处理呢?现在只要调用StreamClose,如您说的handler被紧接着析构掉的话就会发生段错误。 -- 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]
