mirror of https://github.com/zlatinb/muwire
implement dropping of connections
parent
e1517ef6f7
commit
3c9883785a
|
@ -32,8 +32,8 @@ class UltrapeerConnectionManager extends ConnectionManager {
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void drop(Destination d) {
|
public void drop(Destination d) {
|
||||||
// TODO Auto-generated method stub
|
peerConnections.get(d)?.close()
|
||||||
|
leafConnections.get(d)?.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
void onQueryEvent(QueryEvent e) {
|
void onQueryEvent(QueryEvent e) {
|
||||||
|
|
Loading…
Reference in New Issue