V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
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;