mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
Merge pull request #16553 from wumingqiao/wip-leveldb-store-crash
kv: resolve a crash issue in ~LevelDBStore() Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
a5300a38a8
@ -150,10 +150,10 @@ LevelDBStore::~LevelDBStore()
|
||||
{
|
||||
close();
|
||||
delete logger;
|
||||
delete ceph_logger;
|
||||
|
||||
// Ensure db is destroyed before dependent db_cache and filterpolicy
|
||||
db.reset();
|
||||
delete ceph_logger;
|
||||
}
|
||||
|
||||
void LevelDBStore::close()
|
||||
|
Loading…
Reference in New Issue
Block a user