mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
On device prevent closing an already closed handle, as when debugging under Windows this raises an exception.
This commit is contained in:
@@ -64,6 +64,8 @@ namespace DiscImageChef.Devices
|
||||
FreeBSD.Extern.cam_close_device((IntPtr)FileHandle);
|
||||
break;
|
||||
}
|
||||
|
||||
FileHandle = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user