explicitly clear onDecoded callback
This commit is contained in:
@@ -507,6 +507,7 @@ public class Manager extends Emitter {
|
|||||||
|
|
||||||
On.Handle sub;
|
On.Handle sub;
|
||||||
while ((sub = this.subs.poll()) != null) sub.destroy();
|
while ((sub = this.subs.poll()) != null) sub.destroy();
|
||||||
|
this.decoder.onDecoded(null);
|
||||||
|
|
||||||
this.packetBuffer.clear();
|
this.packetBuffer.clear();
|
||||||
this.encoding = false;
|
this.encoding = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user