Skip to content

Commit fcdcdbb

Browse files
committed
remove 7
1 parent 74150b1 commit fcdcdbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (c *connection) Close(ctx context.Context) error {
117117
}()
118118

119119
c.childrenMtx.Lock()
120-
closers := make([]func(context.Context) error, 0, len(c.children)+7)
120+
closers := make([]func(context.Context) error, 0)
121121
for _, child := range c.children {
122122
closers = append(closers, child.Close)
123123
}

0 commit comments

Comments
 (0)