This commit is contained in:
chao wan 2024-04-05 04:01:26 +08:00
parent 639ffa6254
commit f5d359fded

View file

@ -1186,6 +1186,7 @@ namespace v2rayN
if (success && size == instanceIdSize && instanceId.ToString() == deviceInstanceId)
{
isRemoved = SetupAPI.SetupDiRemoveDevice(devs, ref devInfo);
break;
}
}
SetupAPI.SetupDiDestroyDeviceInfoList(devs);