Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MacOMNI committed Nov 5, 2024
1 parent ab0ad29 commit ba4d3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Networking/Sources/Networking/Peer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ private struct PeerEventHandler<Handler: StreamHandler>: QuicEventHandler {
}
// Check if the connection is already reconnected
impl.reconnectStates.write { reconnectStates in
if let _ = reconnectStates[conn.remoteAddress] {
if reconnectStates[conn.remoteAddress] != nil {
reconnectStates[conn.remoteAddress] = nil
}
}
Expand Down

0 comments on commit ba4d3ed

Please sign in to comment.