Added database node.Close() to patches

This commit is contained in:
2017-11-15 12:07:23 +01:00
parent 84568e3899
commit 6f25cac7ae
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@ import (
)
func main() {
defer arn.Node.Close()
for animeList := range arn.StreamAnimeLists() {
animeList.RemoveDuplicates()
animeList.Save()