diff --git a/common/net/listener.go b/common/net/listener.go index 4431ccd3..0cf6d3f3 100644 --- a/common/net/listener.go +++ b/common/net/listener.go @@ -32,6 +32,7 @@ func (l *handleContextListener) init() { if l.panicLog != nil { l.panicLog(r) } + _ = c.Close() } }() if conn, err := l.handle(l.ctx, c); err == nil {