diff options
author | Matt Benjamin <mbenjamin@redhat.com> | 2022-09-09 17:57:44 +0200 |
---|---|---|
committer | Matt Benjamin <mbenjamin@redhat.com> | 2022-09-09 17:57:44 +0200 |
commit | 28758235ba2ab1c1d8afa0f88d00f07b5687a51e (patch) | |
tree | 311e20ca30aef400f4874e43f2c81855ae3b7865 /src | |
parent | rgw/main: cause ratelimiter to destruct in AppMain::shutdown() (diff) | |
download | ceph-28758235ba2ab1c1d8afa0f88d00f07b5687a51e.tar.xz ceph-28758235ba2ab1c1d8afa0f88d00f07b5687a51e.zip |
rgwlib: ensure AppMain is destructed before CephContext
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/rgw/rgw_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<CephContext> cct; AppMain main; RGWLibFrontend* fe; - boost::intrusive_ptr<CephContext> cct; public: RGWLib() : main(this), fe(nullptr) |