We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29167cc commit e9bcb40Copy full SHA for e9bcb40
iroh-net/src/magicsock.rs
@@ -1514,11 +1514,6 @@ impl Handle {
1514
}
1515
self.msock.closing.store(true, Ordering::Relaxed);
1516
self.msock.actor_sender.send(ActorMessage::Shutdown).await?;
1517
- self.msock.pconn4.close().await;
1518
- if let Some(ref conn) = self.msock.pconn6 {
1519
- conn.close().await;
1520
- }
1521
-
1522
self.msock.closed.store(true, Ordering::SeqCst);
1523
self.msock.direct_addrs.addrs.shutdown();
1524
iroh-net/src/magicsock/udp_conn.rs
@@ -59,11 +59,6 @@ impl UdpConn {
59
io: self.io.clone(),
60
})
61
62
63
- /// Closes the socket for good
64
- pub async fn close(&self) {
65
- self.io.close().await;
66
67
68
69
impl AsyncUdpSocket for UdpConn {
0 commit comments