mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not crash when enumerating optical drives without a drive letter under Win32.
This commit is contained in:
@@ -66,7 +66,6 @@ namespace DiscImageChef.Devices.Windows
|
|||||||
[SuppressMessage("ReSharper", "RedundantCatchClause")]
|
[SuppressMessage("ReSharper", "RedundantCatchClause")]
|
||||||
internal static DeviceInfo[] GetList()
|
internal static DeviceInfo[] GetList()
|
||||||
{
|
{
|
||||||
// TODO: Any way to fill this in .NET Standard ???
|
|
||||||
List<string> deviceIDs = new List<string>();
|
List<string> deviceIDs = new List<string>();
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user