mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
change downloads to concurrentdictionary
This commit is contained in:
parent
5c480f551b
commit
94ff918881
4 changed files with 10 additions and 5 deletions
|
|
@ -146,6 +146,7 @@ public class CachedPlayer
|
|||
{
|
||||
Logger.Debug("Downloading missing files for player " + PlayerName + ", kind: " + objectKind);
|
||||
await _apiController.DownloadFiles(downloadId, toDownloadReplacements, downloadToken);
|
||||
_apiController.CancelDownload(downloadId);
|
||||
if (downloadToken.IsCancellationRequested)
|
||||
{
|
||||
Logger.Verbose("Detected cancellation");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue