Merge branch 'master' of github.com:go-redis/redis

This commit is contained in:
Vladimir Mihailenco 2017-04-24 14:22:53 +03:00
commit 5d95eaece6
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ func (c *PubSub) conn() (*pool.Conn, bool, error) {
}
if err := c.resubscribe(cn); err != nil {
_ = c.base.connPool.CloseConn(cn)
return nil, false, err
}