From c855a1a10e06b8a14560342ad0a02e588a93cdc6 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Thu, 8 Sep 2022 12:46:55 -0400 Subject: [PATCH] rgw/main: cause ratelimiter to destruct in AppMain::shutdown() Signed-off-by: Matt Benjamin --- src/rgw/rgw_appmain.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_appmain.cc b/src/rgw/rgw_appmain.cc index 95d3ee18526..6719de12ddb 100644 --- a/src/rgw/rgw_appmain.cc +++ b/src/rgw/rgw_appmain.cc @@ -603,6 +603,6 @@ void rgw::AppMain::shutdown(std::function finalize_async_signals) #ifdef WITH_RADOSGW_KAFKA_ENDPOINT rgw::kafka::shutdown(); #endif - rgw_perf_stop(g_ceph_context); + ratelimiter.reset(); // deletes--ensure this happens before we destruct } /* AppMain::shutdown */ -- 2.39.5