We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74150b1 commit fcdcdbbCopy full SHA for fcdcdbb
connection.go
@@ -117,7 +117,7 @@ func (c *connection) Close(ctx context.Context) error {
117
}()
118
119
c.childrenMtx.Lock()
120
- closers := make([]func(context.Context) error, 0, len(c.children)+7)
+ closers := make([]func(context.Context) error, 0)
121
for _, child := range c.children {
122
closers = append(closers, child.Close)
123
}
0 commit comments