Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Nov 1, 2023
1 parent bafe56a commit 614c728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie/triedb/pathdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func (db *Database) Close() error {
dl := db.tree.bottom()
if dl.cleans != nil {
// Reset cleans cache to return mmaped memory chunks to fastcache pool
// We need to do that only for one diskLayer as all diskLayers share the same cleans cache
// All diskLayers share the same cleans cache
dl.cleans.Reset()
}

Expand Down

0 comments on commit 614c728

Please sign in to comment.