summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Benjamin <mbenjamin@redhat.com>2022-09-09 17:57:44 +0200
committerMatt Benjamin <mbenjamin@redhat.com>2022-09-09 17:57:44 +0200
commit28758235ba2ab1c1d8afa0f88d00f07b5687a51e (patch)
tree311e20ca30aef400f4874e43f2c81855ae3b7865 /src
parentrgw/main: cause ratelimiter to destruct in AppMain::shutdown() (diff)
downloadceph-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.h2
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)