فهرست منبع

Without that thing, go 1.3.3 says 'unexpected range'.

Mathieu Lecarme 11 سال پیش
والد
کامیت
3f4f521004
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      redisx/connmux.go

+ 1 - 1
redisx/connmux.go

@@ -134,7 +134,7 @@ func (c *muxConn) Close() error {
 		return nil
 	}
 	c.Flush()
-	for range c.ids {
+	for _ = range c.ids {
 		_, err = c.Receive()
 	}
 	return err