mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Make Sidecar class non-static.
This commit is contained in:
@@ -1843,8 +1843,19 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
return;
|
||||
}
|
||||
|
||||
DateTime chkStart = DateTime.UtcNow;
|
||||
CICMMetadataType sidecar = Sidecar.Create(inputPlugin, outputPath, filter.Id, encoding);
|
||||
DateTime chkStart = DateTime.UtcNow;
|
||||
Sidecar sidecarClass = new Sidecar(inputPlugin, outputPath, filter.Id, encoding)
|
||||
{
|
||||
// TODO: Be able to cancel hashing
|
||||
InitProgressEvent += InitProgress,
|
||||
UpdateProgressEvent += UpdateProgress,
|
||||
EndProgressEvent += EndProgress,
|
||||
InitProgressEvent2 += InitProgress2,
|
||||
UpdateProgressEvent2 += UpdateProgress2,
|
||||
EndProgressEvent2 += EndProgress2,
|
||||
UpdateStatusEvent += UpdateStatus
|
||||
};
|
||||
CICMMetadataType sidecar = sidecarClass.Create();
|
||||
end = DateTime.UtcNow;
|
||||
|
||||
totalChkDuration = (end - chkStart).TotalMilliseconds;
|
||||
|
||||
Reference in New Issue
Block a user