mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Stop creating metadata when aborted. Fixes #265.
This commit is contained in:
@@ -86,6 +86,9 @@ namespace Aaru.Core.Devices.Dumping
|
|||||||
CICMMetadataType sidecar = _sidecarClass.Create();
|
CICMMetadataType sidecar = _sidecarClass.Create();
|
||||||
DateTime end = DateTime.UtcNow;
|
DateTime end = DateTime.UtcNow;
|
||||||
|
|
||||||
|
if(_aborted)
|
||||||
|
return;
|
||||||
|
|
||||||
totalChkDuration = (end - chkStart).TotalMilliseconds;
|
totalChkDuration = (end - chkStart).TotalMilliseconds;
|
||||||
_dumpLog.WriteLine("Sidecar created in {0} seconds.", (end - chkStart).TotalSeconds);
|
_dumpLog.WriteLine("Sidecar created in {0} seconds.", (end - chkStart).TotalSeconds);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user