close finalizer

This commit is contained in:
2022-02-10 15:00:33 +01:00
parent 709ca7f23b
commit 6a7a6135da

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 {