From 471ed0563edf8c150aff68f623e0d8491a5b52ef Mon Sep 17 00:00:00 2001 From: BlueStorm001 Date: Fri, 8 Oct 2021 10:46:03 +0800 Subject: [PATCH] new update --- gsql.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gsql.go b/gsql.go index ddd3dc6..c684c17 100644 --- a/gsql.go +++ b/gsql.go @@ -157,6 +157,7 @@ func (s *Serve) GetORM() *ORM { case <-orm.chanComplete: return case <-time.After(time.Second * time.Duration(s.Timeout)): + orm.Close() orm.Dispose() } }(c)