Merge pull request #520 from aaru-dps/fakeshemp/fix-close-file

Fix closing file if decryption is disabled
This commit is contained in:
2021-01-16 18:40:56 +00:00
committed by GitHub

View File

@@ -734,7 +734,7 @@ namespace Aaru.Core.Devices.Dumping
_retryPasses > 0)
RetrySbcData(scsiReader, currentTry, extents, ref totalDuration, blankExtents);
if(_resume.MissingTitleKeys.Count > 0 &&
if(_resume.MissingTitleKeys?.Count > 0 &&
!_aborted &&
_retryPasses > 0 &&
Settings.Settings.Current.EnableDecryption &&
@@ -1209,4 +1209,4 @@ namespace Aaru.Core.Devices.Dumping
Statistics.AddMedia(dskType, true);
}
}
}
}