Make Sidecar class abortable.

This commit is contained in:
2019-04-20 19:21:00 +01:00
parent c06f738ca9
commit 8bcf346653
13 changed files with 113 additions and 16 deletions

View File

@@ -1844,9 +1844,8 @@ namespace DiscImageChef.Core.Devices.Dumping
}
DateTime chkStart = DateTime.UtcNow;
Sidecar sidecarClass = new Sidecar(inputPlugin, outputPath, filter.Id, encoding)
sidecarClass = new Sidecar(inputPlugin, outputPath, filter.Id, encoding)
{
// TODO: Be able to cancel hashing
InitProgressEvent += InitProgress,
UpdateProgressEvent += UpdateProgress,
EndProgressEvent += EndProgress,