Skip to content

Commit

Permalink
fix(store/v2): flaky TestDenomMetadata integration test. (#23184)
Browse files Browse the repository at this point in the history
Co-authored-by: Marko <[email protected]>
Co-authored-by: Alex | Skip <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent c1192da commit ead1b1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions store/v2/db/pebbledb.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ func (itr *pebbleDBIterator) Error() error {
}

func (itr *pebbleDBIterator) Close() error {
if itr.source == nil {
return nil
}
err := itr.source.Close()
itr.source = nil
itr.valid = false
Expand Down

0 comments on commit ead1b1c

Please sign in to comment.