From fd6670f0a751423a18d1dd2186700840f5a7fb10 Mon Sep 17 00:00:00 2001 From: ucwong Date: Thu, 23 May 2024 06:07:58 +0800 Subject: [PATCH] clear items --- metainfo/announcelist.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/metainfo/announcelist.go b/metainfo/announcelist.go index fccfbbf25e..465483ad7d 100644 --- a/metainfo/announcelist.go +++ b/metainfo/announcelist.go @@ -34,5 +34,7 @@ func (al AnnounceList) DistinctValues() (ret []string) { } func (al AnnounceList) Clear() { - clear(al) + for _, tier := range al { + clear(tier) + } }