close finalizer

This commit is contained in:
Sebastian Frank 2022-02-10 15:00:33 +01:00
parent 709ca7f23b
commit 6a7a6135da
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

1
mgo.go
View File

@ -62,6 +62,7 @@ func (c *MgoConnection) NewSession() Session {
s.Close() s.Close()
} }
}) })
return s
} }
type MgoDatabase struct { type MgoDatabase struct {