From 5d9718a0bb93fe4bfa6d8a9a8f985e4f16642ba1 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 20 Sep 2026 10:15:47 +0800 Subject: [PATCH] Fix (#10203) up 7.25.2 --- v2rayN/Directory.Build.props | 2 +- v2rayN/ServiceLib/ViewModels/ClashConnectionsViewModel.cs | 2 +- v2rayN/ServiceLib/ViewModels/ClashProxiesViewModel.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/v2rayN/Directory.Build.props b/v2rayN/Directory.Build.props index bfc06e5a..ebc9dcf6 100644 --- a/v2rayN/Directory.Build.props +++ b/v2rayN/Directory.Build.props @@ -1,7 +1,7 @@ - 7.25.1 + 7.25.2 diff --git a/v2rayN/ServiceLib/ViewModels/ClashConnectionsViewModel.cs b/v2rayN/ServiceLib/ViewModels/ClashConnectionsViewModel.cs index 3fca12dc..23454d90 100644 --- a/v2rayN/ServiceLib/ViewModels/ClashConnectionsViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/ClashConnectionsViewModel.cs @@ -129,7 +129,7 @@ public partial class ClashConnectionsViewModel : MyReactiveObject try { var numOfExecuted = 1; - while (true) + while (!token.IsCancellationRequested) { await Task.Delay(1000, token); numOfExecuted++; diff --git a/v2rayN/ServiceLib/ViewModels/ClashProxiesViewModel.cs b/v2rayN/ServiceLib/ViewModels/ClashProxiesViewModel.cs index ea2bdbc1..b8c3a096 100644 --- a/v2rayN/ServiceLib/ViewModels/ClashProxiesViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/ClashProxiesViewModel.cs @@ -113,7 +113,7 @@ public partial class ClashProxiesViewModel : MyReactiveObject try { var numOfExecuted = 1; - while (true) + while (!token.IsCancellationRequested) { await Task.Delay(1000, token); numOfExecuted++;