mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:17:23 +01:00
remove requirement to hold ctrl, remove puzzle
This commit is contained in:
parent
9bdbd1c3fa
commit
fafb103ce2
9 changed files with 31 additions and 187 deletions
|
|
@ -56,6 +56,7 @@ public partial class ApiController
|
|||
Logger.Warn("Could not set download progress for " + hash);
|
||||
Logger.Warn(ex.Message);
|
||||
Logger.Warn(ex.StackTrace ?? string.Empty);
|
||||
wc.CancelAsync();
|
||||
}
|
||||
};
|
||||
wc.DownloadProgressChanged += progChanged;
|
||||
|
|
@ -131,7 +132,6 @@ public partial class ApiController
|
|||
{
|
||||
File.Delete(tempFile);
|
||||
Logger.Debug("Detected cancellation, removing " + currentDownloadId);
|
||||
DownloadFinished?.Invoke();
|
||||
CancelDownload(currentDownloadId);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue