mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix checking track does not exist.
This commit is contained in:
@@ -817,7 +817,7 @@ namespace Aaru.Core.Devices.Dumping
|
||||
{
|
||||
Track track = tracks.FirstOrDefault(t => t.TrackSequence == kvp.Key);
|
||||
|
||||
if(track.TrackSequence == 0)
|
||||
if(track is null)
|
||||
continue;
|
||||
|
||||
_dumpLog.WriteLine("Setting flags for track {0}...", track.TrackSequence);
|
||||
|
||||
Reference in New Issue
Block a user