triedb/hashdb: Avoid setting db.cleans on Close (#29309)

This commit is contained in:
Darioush Jalali 2024-03-22 04:38:24 -07:00 committed by GitHub
parent 14eb8967be
commit f46fe62c5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
} }