From 81da72bb39035317f6415962429a549317c21ed8 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:11:31 +0800 Subject: [PATCH] Fix https://github.com/2dust/v2rayN/issues/8881 --- v2rayN/ServiceLib/Handler/ConfigHandler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 0153f6a1..de4c774d 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -1332,6 +1332,7 @@ public static class ConfigHandler public static async Task RemoveInvalidServerResult(Config config, string subid) { var lstModel = await AppManager.Instance.ProfileModels(subid, ""); + lstModel.RemoveAll(t => t.ConfigType.IsComplexType()); if (lstModel is { Count: <= 0 }) { return -1;