This commit is contained in:
joyz
2018-12-25 17:34:22 +08:00
parent fcfba55567
commit a75adfdba4
4 changed files with 21 additions and 10 deletions
-1
View File
@@ -88,7 +88,6 @@ func (c *client) init() {
c.info.remoteIP = strings.Split(c.conn.RemoteAddr().String(), ":")[0]
c.ctx, c.cancelFunc = context.WithCancel(context.Background())
c.subMap = make(map[string]*subscription)
c.topicsMgr = c.broker.topicsMgr
}