From 8eac0fee8da65c4021c6bba7c976d395151309ed Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Tue, 5 Mar 2024 08:39:00 +0900 Subject: [PATCH] Fix unexpected Handler shutdown (#236) --- src/handler/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler/mod.rs b/src/handler/mod.rs index 4cfa262bd..52cfad44f 100644 --- a/src/handler/mod.rs +++ b/src/handler/mod.rs @@ -443,7 +443,7 @@ impl Handler { if self.nat.is_behind_nat == Some(false) { // Until ip voting is done and an observed public address is finalised, all nodes act as // if they are behind a NAT. - return; + continue; } if let Err(e) = self.on_hole_punch_expired(peer_socket).await { warn!("Failed to keep hole punched for peer, error: {:?}", e);