mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:47:22 +01:00
remove double invoke
This commit is contained in:
parent
cad329882d
commit
ff4079a16d
1 changed files with 0 additions and 2 deletions
|
|
@ -92,7 +92,6 @@ namespace MareSynchronos.WebAPI
|
||||||
|
|
||||||
private async Task DownloadFilesInternal(int currentDownloadId, List<FileReplacementDto> fileReplacementDto, CancellationToken ct)
|
private async Task DownloadFilesInternal(int currentDownloadId, List<FileReplacementDto> fileReplacementDto, CancellationToken ct)
|
||||||
{
|
{
|
||||||
DownloadStarted?.Invoke();
|
|
||||||
Logger.Debug("Downloading files (Download ID " + currentDownloadId + ")");
|
Logger.Debug("Downloading files (Download ID " + currentDownloadId + ")");
|
||||||
|
|
||||||
List<DownloadFileDto> downloadFileInfoFromService = new List<DownloadFileDto>();
|
List<DownloadFileDto> downloadFileInfoFromService = new List<DownloadFileDto>();
|
||||||
|
|
@ -159,7 +158,6 @@ namespace MareSynchronos.WebAPI
|
||||||
});
|
});
|
||||||
|
|
||||||
Logger.Debug("Download complete, removing " + currentDownloadId);
|
Logger.Debug("Download complete, removing " + currentDownloadId);
|
||||||
DownloadFinished?.Invoke();
|
|
||||||
CancelDownload(currentDownloadId);
|
CancelDownload(currentDownloadId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue