Skip to content

Commit a3dbfc0

Browse files
committed
[Enhancement] Add a cleaner for BrpcStubCache to cleanup unused connections
Signed-off-by: ‘duanyyyyyyy’ <yan.duan9759@gmail.com>
1 parent e282948 commit a3dbfc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

be/src/runtime/exec_env.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,8 +739,8 @@ void ExecEnv::destroy() {
739739
SAFE_DELETE(_broker_mgr);
740740
SAFE_DELETE(_bfd_parser);
741741
SAFE_DELETE(_load_path_mgr);
742-
SAFE_DELETE(_brpc_stub_cache);
743742
SAFE_DELETE(_brpc_stub_manager);
743+
SAFE_DELETE(_brpc_stub_cache);
744744
SAFE_DELETE(_udf_call_pool);
745745
SAFE_DELETE(_pipeline_prepare_pool);
746746
SAFE_DELETE(_pipeline_sink_io_pool);

0 commit comments

Comments
 (0)