diff --git a/v2/redis.go b/v2/redis.go index ae75c42..ae74596 100644 --- a/v2/redis.go +++ b/v2/redis.go @@ -129,6 +129,7 @@ func (c *baseClient) run(cmd Cmder) { cmd.setVal(val) } +// Close closes the client, releasing any open resources. func (c *baseClient) Close() error { return c.connPool.Close() }