mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-24 10:38:34 +00:00
addreturn
This commit is contained in:
@@ -364,6 +364,8 @@ func (c *client) ProcessUnSubscribe(packet *packets.UnsubscribePacket) {
|
||||
if ok && len(c.rsubs[t]) > 0 {
|
||||
sub = c.rsubs[t][0]
|
||||
c.rsubs[t] = c.rsubs[t][1:]
|
||||
} else {
|
||||
return
|
||||
}
|
||||
}
|
||||
if ok {
|
||||
|
||||
Reference in New Issue
Block a user