Skip to content

Commit

Permalink
Remove unnecessary clientConn.Close().
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Feb 26, 2025
1 parent d28ba6c commit a493285
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion service/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ func (h *associationHandler) HandleAssociation(ctx context.Context, clientConn n
connError := func() *onet.ConnectionError {
// Error from `clientConn.Read()`.
if err != nil {
clientConn.Close()
return onet.NewConnectionError("ERR_READ", "Failed to read from association", err)
}

Expand Down

0 comments on commit a493285

Please sign in to comment.