Friendsfix #6

Merged
RusticMaple merged 8 commits from friendsfix into v0 2026-04-12 21:33:58 +02:00
Showing only changes of commit 1c8352a235 - Show all commits

actually delete connection if someone disconnects

Maple 2026-04-11 18:16:20 +02:00

View file

@ -414,6 +414,10 @@ impl<C: Crypto> Server<C> {
);
drop(inner);
let mut conns = self.connections.write().await;
conns.remove(&addr);
drop(conns);
self.socket.send_to(&packet, addr.regular_socket_addr).await;
self.socket.send_to(&packet, addr.regular_socket_addr).await;
self.socket.send_to(&packet, addr.regular_socket_addr).await;