poesty 2 months ago
parent
commit
c5922f2ff4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rss2hook.go

+ 1 - 0
rss2hook.go

@@ -191,6 +191,7 @@ func main() {
 			// TODO: URL validiy checks
 			if !*startup {
 				feed.Unread = 0
+				feed.Items = nil // gc
 			}
 			feeds[i] = *feed
 		}(i, ent)