|
|
@ -72,13 +72,19 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
~MediaInfo()
|
|
|
|
~MediaInfo()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (_handle != IntPtr.Zero)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MediaInfo_Delete(_handle);
|
|
|
|
MediaInfo_Delete(_handle);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
public void Dispose()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (_handle != IntPtr.Zero)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MediaInfo_Delete(_handle);
|
|
|
|
MediaInfo_Delete(_handle);
|
|
|
|
|
|
|
|
}
|
|
|
|
GC.SuppressFinalize(this);
|
|
|
|
GC.SuppressFinalize(this);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|