mirror of
https://github.com/smallnest/rpcx.git
synced 2026-04-22 23:27:06 +08:00
fix typo
This commit is contained in:
+1
-1
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user