Skip to content

Commit ad4449b

Browse files
committed
explicitly clear onDecoded callback
1 parent 2ec4167 commit ad4449b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/socket/client/Manager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ private void cleanup() {
507507

508508
On.Handle sub;
509509
while ((sub = this.subs.poll()) != null) sub.destroy();
510+
this.decoder.onDecoded(null);
510511

511512
this.packetBuffer.clear();
512513
this.encoding = false;

0 commit comments

Comments
 (0)