[skip ci] Add comment for ClientBase.Close (#13270)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/13288/head
shaoyue 2021-12-13 19:26:53 +08:00 committed by GitHub
parent 1cba259395
commit 4464fc4199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ func (c *ClientBase) ReCall(ctx context.Context, caller func(client interface{})
return ret, err
}
// Close close the client connection
func (c *ClientBase) Close() error {
c.grpcClientMtx.Lock()
defer c.grpcClientMtx.Unlock()