detach method
Forgets peer and closes it. Idempotent, because both ends can decide a
peer is gone: the transport's read loop and a failed write.
Implementation
void detach(InspectorPeer peer) {
_attached.remove(peer);
peer.close();
}
Forgets peer and closes it. Idempotent, because both ends can decide a
peer is gone: the transport's read loop and a failed write.
void detach(InspectorPeer peer) {
_attached.remove(peer);
peer.close();
}