From 6a7a6135da962c02105dfffe87b1e07d556075d8 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 10 Feb 2022 15:00:33 +0100 Subject: [PATCH] close finalizer --- mgo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mgo.go b/mgo.go index 53f9cd6..e96590b 100644 --- a/mgo.go +++ b/mgo.go @@ -62,6 +62,7 @@ func (c *MgoConnection) NewSession() Session { s.Close() } }) + return s } type MgoDatabase struct {