mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
make kick more responsive
This commit is contained in:
parent
ef732da3a2
commit
4a135d00f6
9 changed files with 371 additions and 113 deletions
|
@ -49,6 +49,10 @@ impl Peer {
|
|||
connection_manager.start()?;
|
||||
Ok(Peer { shared })
|
||||
}
|
||||
|
||||
pub fn remove(&self, peer: PeerId) {
|
||||
self.shared.remote_peers.remove(&peer);
|
||||
}
|
||||
|
||||
/// Host at a specified `bind_addr`.
|
||||
pub fn host(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue