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 830157c commit 6c9ba81Copy full SHA for 6c9ba81
internal/applog/data_listener.go
@@ -25,7 +25,7 @@ func NewSockDataListener(sockPath string, rPool *breader.Pool, writer io.Writer,
25
}
26
27
func (l *SockDataListener) handleConnection(conn net.Conn) {
28
- defer conn.Close()
+ defer func() { _ = conn.Close() }()
29
30
reader := l.rPool.Get(conn)
31
defer l.rPool.Put(reader)
0 commit comments