mirror of
https://github.com/2dust/v2rayN.git
synced 2026-03-12 19:33:01 +00:00
parent
d9201157c8
commit
81da72bb39
1 changed files with 1 additions and 0 deletions
|
|
@ -1332,6 +1332,7 @@ public static class ConfigHandler
|
||||||
public static async Task<int> RemoveInvalidServerResult(Config config, string subid)
|
public static async Task<int> RemoveInvalidServerResult(Config config, string subid)
|
||||||
{
|
{
|
||||||
var lstModel = await AppManager.Instance.ProfileModels(subid, "");
|
var lstModel = await AppManager.Instance.ProfileModels(subid, "");
|
||||||
|
lstModel.RemoveAll(t => t.ConfigType.IsComplexType());
|
||||||
if (lstModel is { Count: <= 0 })
|
if (lstModel is { Count: <= 0 })
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue