Signed-off-by: luohaha <18810541851@163.com> Co-authored-by: Yixin Luo <18810541851@163.com>
This commit is contained in:
parent
b647155d20
commit
946a05b429
|
|
@ -156,7 +156,9 @@ LakePersistentIndex::LakePersistentIndex(TabletManager* tablet_mgr, int64_t tabl
|
|||
: PersistentIndex(""), _tablet_mgr(tablet_mgr), _tablet_id(tablet_id) {}
|
||||
|
||||
LakePersistentIndex::~LakePersistentIndex() {
|
||||
_memtable->clear();
|
||||
if (_memtable) {
|
||||
_memtable->clear();
|
||||
}
|
||||
_sstables.clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue