addreturn
This commit is contained in:
1 parent
ca7ebfb6e3
commit
31548b10e5
1 file changed
+2
@@ -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