Skip to content

Commit

Permalink
Fix unexpected Handler shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ackintosh committed Mar 1, 2024
1 parent 088a171 commit 32fdfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 32fdfe3

Please sign in to comment.