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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user