]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/main: do cleanup using defer()
authorKefu Chai <kchai@redhat.com>
Sat, 29 May 2021 07:03:01 +0000 (15:03 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 31 May 2021 12:06:22 +0000 (20:06 +0800)
commit37b83f4ed7ca69f105b93bf482cb2289cbaf9a4d
tree34dae71aa66c874f2786e176c0b8df7a78e923d0
parenta6314f154262e3eda2106c6004fea5de53808a4f
crimson/osd/main: do cleanup using defer()

since we do the startup in a seastar thread, we have the luxury of doing
cleanup using the RAII machinery.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/main.cc