677678679680681682683684685686687
synchronized (this) { p = peer; peer = null; } if (p != null) { p.dispose(); } } void setID(int id) { this.id = id;