This commit is contained in:
Junlong
2021-11-25 18:36:01 +08:00
parent 5bffce28ab
commit 3abe01e2e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ func (c *OneClient) Stream(ctx context.Context, meta map[string]string) (net.Con
return xclient.Stream(ctx, meta)
}
// Close closes all xclients and its underlying connnections to services.
// Close closes all xclients and its underlying connections to services.
func (c *OneClient) Close() error {
var result error
+1 -1
View File
@@ -1264,7 +1264,7 @@ loop:
return err
}
// Close closes this client and its underlying connnections to services.
// Close closes this client and its underlying connections to services.
func (c *xClient) Close() error {
var errs []error
c.mu.Lock()