コード例 #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();
  }
コード例 #2
0
 private void cleanup() {
   On.Handle sub;
   while ((sub = this.subs.poll()) != null) sub.destroy();
 }