From: Matt Benjamin Date: Fri, 9 Sep 2022 15:57:44 +0000 (-0400) Subject: rgwlib: ensure AppMain is destructed before CephContext X-Git-Tag: v18.0.0~56^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=28758235ba2ab1c1d8afa0f88d00f07b5687a51e;p=ceph-ci.git rgwlib: ensure AppMain is destructed before CephContext Signed-off-by: Matt Benjamin --- 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)