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() {
|
func main() {
|
||||||
|
defer arn.Node.Close()
|
||||||
|
|
||||||
for _, item := range items {
|
for _, item := range items {
|
||||||
item.Save()
|
item.Save()
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
defer arn.Node.Close()
|
||||||
|
|
||||||
for animeList := range arn.StreamAnimeLists() {
|
for animeList := range arn.StreamAnimeLists() {
|
||||||
animeList.RemoveDuplicates()
|
animeList.RemoveDuplicates()
|
||||||
animeList.Save()
|
animeList.Save()
|
||||||
|
Loading…
Reference in New Issue
Block a user