From 364a24c5802ae40167e5a91a7405939bc2eb9854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Little=E4=B8=B6Dreams?= Date: Sat, 11 Jan 2025 14:44:09 +0800 Subject: [PATCH] =?UTF-8?q?CloneServerStatItem=20=E6=97=B6=E6=A3=80?= =?UTF-8?q?=E6=9F=A5indexId=E5=92=8CtoIndexId=E6=98=AF=E5=90=A6=E7=9B=B8?= =?UTF-8?q?=E5=90=8C=20(#6478)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2rayN/ServiceLib/Handler/StatisticsHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2rayN/ServiceLib/Handler/StatisticsHandler.cs b/v2rayN/ServiceLib/Handler/StatisticsHandler.cs index b5aabe7a..17340039 100644 --- a/v2rayN/ServiceLib/Handler/StatisticsHandler.cs +++ b/v2rayN/ServiceLib/Handler/StatisticsHandler.cs @@ -72,6 +72,11 @@ return; } + if(indexId == toIndexId) + { + return; + } + var stat = _lstServerStat.FirstOrDefault(t => t.IndexId == indexId); if (stat == null) {