mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
UI revamp
This commit is contained in:
@@ -36,7 +36,7 @@ namespace CUETools.Ripper.SCSI
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class CDDriveReader : IAudioSource
|
||||
public class CDDriveReader : IAudioSource, IDisposable
|
||||
{
|
||||
byte[] cdtext = null;
|
||||
private Device m_device;
|
||||
@@ -277,11 +277,17 @@ namespace CUETools.Ripper.SCSI
|
||||
|
||||
public void Close()
|
||||
{
|
||||
m_device.Close();
|
||||
if (m_device != null)
|
||||
m_device.Close();
|
||||
m_device = null;
|
||||
_toc = null;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
public int BestBlockSize
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user