From bc5eb1e1a58ce4870e0ee4d583669625dc3d95aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 24 May 2025 08:14:43 +0800 Subject: [PATCH] Fix RoutePacketConnectionEx --- route/route.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/route/route.go b/route/route.go index f3e7a983..f354095d 100644 --- a/route/route.go +++ b/route/route.go @@ -176,8 +176,6 @@ func (r *Router) RoutePacketConnectionEx(ctx context.Context, conn N.PacketConn, } else { r.logger.ErrorContext(ctx, err) } - } else if onClose != nil { - onClose(nil) } }