mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-29 22:36:20 +00:00
Improve
This commit is contained in:
parent
639ffa6254
commit
f5d359fded
1 changed files with 1 additions and 0 deletions
|
@ -1186,6 +1186,7 @@ namespace v2rayN
|
||||||
if (success && size == instanceIdSize && instanceId.ToString() == deviceInstanceId)
|
if (success && size == instanceIdSize && instanceId.ToString() == deviceInstanceId)
|
||||||
{
|
{
|
||||||
isRemoved = SetupAPI.SetupDiRemoveDevice(devs, ref devInfo);
|
isRemoved = SetupAPI.SetupDiRemoveDevice(devs, ref devInfo);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SetupAPI.SetupDiDestroyDeviceInfoList(devs);
|
SetupAPI.SetupDiDestroyDeviceInfoList(devs);
|
||||||
|
|
Loading…
Reference in a new issue