Ejemplo n.º 1
0
  private void cleanup() {
    logger.fine("cleanup");

    On.Handle sub;
    while ((sub = this.subs.poll()) != null) sub.destroy();

    this.packetBuffer.clear();
    this.encoding = false;
    this.lastPing = null;

    this.decoder.destroy();
  }
Ejemplo n.º 2
0
 private void cleanup() {
   On.Handle sub;
   while ((sub = this.subs.poll()) != null) sub.destroy();
 }