chenBright commented on PR #2798:
URL: https://github.com/apache/brpc/pull/2798#issuecomment-2445968169

   
[析构后释放内](https://github.com/protocolbuffers/protobuf/blob/1f5df18680a5084fc9b4e4150b22f0b388d678dd/src/google/protobuf/arena.h#L305-L310)
   
   ```c++
     // Frees all storage allocated by this arena after calling destructors
     // registered with OwnDestructor() and freeing objects registered with 
Own().
     // Any objects allocated on this arena are unusable after this call. It 
also
     // returns the total space used by the arena which is the sums of the sizes
     // of the allocated blocks. This method is not thread-safe.
     uint64_t Reset() { return impl_.Reset(); }
   ```


-- 
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