diff --git a/clientv3/client.go b/clientv3/client.go index 44494cbed..a667ae477 100644 --- a/clientv3/client.go +++ b/clientv3/client.go @@ -88,6 +88,7 @@ func NewFromConfigFile(path string) (*Client, error) { func (c *Client) Close() error { c.cancel() c.Watcher.Close() + c.Lease.Close() return toErr(c.ctx, c.conn.Close()) }