From 28758235ba2ab1c1d8afa0f88d00f07b5687a51e Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Fri, 9 Sep 2022 11:57:44 -0400 Subject: [PATCH] rgwlib: ensure AppMain is destructed before CephContext Signed-off-by: Matt Benjamin --- src/rgw/rgw_lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_lib.h b/src/rgw/rgw_lib.h index c104fad18af..06a69025588 100644 --- a/src/rgw/rgw_lib.h +++ b/src/rgw/rgw_lib.h @@ -20,9 +20,9 @@ namespace rgw { class RGWLibFrontend; class RGWLib : public DoutPrefixProvider { + boost::intrusive_ptr cct; AppMain main; RGWLibFrontend* fe; - boost::intrusive_ptr cct; public: RGWLib() : main(this), fe(nullptr) -- 2.39.5