fix: close connection after error handling in handleContextListener

This commit is contained in:
wwqgtxx committed 2026-09-14 14:24:43 +08:00
1 parent 78210c9c72
commit dc66a8a180
1 file changed
+1
+1
View File
@@ -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 {