triedb/hashdb: Avoid setting db.cleans on Close (#29309)
This commit is contained in:
parent
14eb8967be
commit
f46fe62c5d
@ -619,7 +619,6 @@ func (db *Database) Size() (common.StorageSize, common.StorageSize) {
|
|||||||
func (db *Database) Close() error {
|
func (db *Database) Close() error {
|
||||||
if db.cleans != nil {
|
if db.cleans != nil {
|
||||||
db.cleans.Reset()
|
db.cleans.Reset()
|
||||||
db.cleans = nil
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user