1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2026-10-10 20:23:11 +08:00

fix: close connection after error handling in handleContextListener

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