Skip to content

Commit

Permalink
clear items
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong committed May 22, 2024
1 parent 6145278 commit fd6670f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion metainfo/announcelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ func (al AnnounceList) DistinctValues() (ret []string) {
}

func (al AnnounceList) Clear() {
clear(al)
for _, tier := range al {
clear(tier)
}
}

0 comments on commit fd6670f

Please sign in to comment.