Added database node.Close() to patches
This commit is contained in:
parent
84568e3899
commit
6f25cac7ae
@ -104,6 +104,8 @@ to the studios involved in the creation of your favourite anime.
|
||||
}
|
||||
|
||||
func main() {
|
||||
defer arn.Node.Close()
|
||||
|
||||
for _, item := range items {
|
||||
item.Save()
|
||||
}
|
||||
|
@ -5,6 +5,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
defer arn.Node.Close()
|
||||
|
||||
for animeList := range arn.StreamAnimeLists() {
|
||||
animeList.RemoveDuplicates()
|
||||
animeList.Save()
|
||||
|
Loading…
Reference in New Issue
Block a user