File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 55
66#include < seastar/core/app-template.hh>
77#include < seastar/core/thread.hh>
8+ #include < seastar/util/closeable.hh>
89
910#include " crimson/common/config_proxy.h"
1011#include " crimson/common/log.h"
@@ -116,15 +117,11 @@ seastar::future<> run(const bpo::variables_map& config) {
116117
117118 using crimson::common::sharded_conf;
118119 sharded_conf ().start (EntityName{}, std::string_view{" ceph" }).get ();
119- seastar::engine ().at_exit ([] {
120- return sharded_conf ().stop ();
121- });
120+ auto sharded_conf_stop = seastar::deferred_stop (sharded_conf ());
122121
123122 using crimson::common::sharded_perf_coll;
124123 sharded_perf_coll ().start ().get ();
125- seastar::engine ().at_exit ([] {
126- return sharded_perf_coll ().stop ();
127- });
124+ auto sharded_perf_stop = seastar::deferred_stop (sharded_perf_coll ());
128125
129126 auto kvs = KVPool<test_item_t >::create_raw_range (
130127 ns_sizes, oid_sizes, onode_sizes,
You can’t perform that action at this time.
0 commit comments