chenBright commented on issue #2470:
URL: https://github.com/apache/brpc/issues/2470#issuecomment-2572500799

   1. 如果编译bRPC库的时候开了ASan,#2858 会自动忽略这些内存泄漏。
   2. 如果没开,代码里使用LSan注解也可以忽略:
   ```c++
   brpc::Server server;
   {
       ANNOTATE_SCOPED_MEMORY_LEAK;
       server.Start(...);
   }
   ```


-- 
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: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to