Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
hvvvvvvv committed Apr 4, 2024
1 parent 639ffa6 commit f5d359f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2rayN/v2rayN/Common/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,7 @@ public static bool RemoveDeviceByDevIstId(string deviceInstanceId)
if (success && size == instanceIdSize && instanceId.ToString() == deviceInstanceId)
{
isRemoved = SetupAPI.SetupDiRemoveDevice(devs, ref devInfo);
break;
}
}
SetupAPI.SetupDiDestroyDeviceInfoList(devs);
Expand Down

0 comments on commit f5d359f

Please sign in to comment.