This is an automated email from the ASF dual-hosted git repository.

wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 4fa4bcda fix ut MultiDimensionTest:mlatencyrecorder coredump (#2362)
4fa4bcda is described below

commit 4fa4bcda3cf9ae28a3036a564bd1085581c0263c
Author: Allen <[email protected]>
AuthorDate: Wed Aug 30 11:21:05 2023 +0800

    fix ut MultiDimensionTest:mlatencyrecorder coredump (#2362)
    
    Co-authored-by: allen <[email protected]>
---
 src/bvar/multi_dimension_inl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bvar/multi_dimension_inl.h b/src/bvar/multi_dimension_inl.h
index 0ab960fe..aec9882e 100644
--- a/src/bvar/multi_dimension_inl.h
+++ b/src/bvar/multi_dimension_inl.h
@@ -64,8 +64,8 @@ MultiDimension<T>::MultiDimension(const butil::StringPiece& 
prefix,
 
 template <typename T>
 MultiDimension<T>::~MultiDimension() {
-    delete_stats();
     hide();
+    delete_stats();
 }
 
 template <typename T>


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

Reply via email to