Fix leaking open pg conn
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -277,6 +277,8 @@ func (impl *Implm) Run(
|
|||||||
|
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
|
||||||
|
pgClient.Close()
|
||||||
|
|
||||||
return context.Cause(ctx)
|
return context.Cause(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user