mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Centralize abort for dumpers
This commit is contained in:
@@ -55,7 +55,6 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
internal void Ssc()
|
||||
{
|
||||
FixedSense? fxSense;
|
||||
bool aborted;
|
||||
bool sense;
|
||||
ulong blocks = 0;
|
||||
uint blockSize;
|
||||
@@ -403,8 +402,6 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
};
|
||||
Checksum partitionChk = new Checksum();
|
||||
|
||||
aborted = false;
|
||||
System.Console.CancelKeyPress += (sender, e) => e.Cancel = aborted = true;
|
||||
DateTime timeSpeedStart = DateTime.UtcNow;
|
||||
ulong currentSpeedSize = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user