فهرست منبع

Fix RoutePacketConnectionEx

世界 5 ماه پیش
والد
کامیت
bc5eb1e1a5
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      route/route.go

+ 0 - 2
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)
 	}
 }