mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 20:34:16 +01:00
change downloads to concurrentdictionary
This commit is contained in:
parent
4a0dce0e44
commit
7265dab8a7
4 changed files with 10 additions and 5 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
|
|
@ -93,7 +94,7 @@ namespace MareSynchronos.WebAPI
|
|||
|
||||
public event SimpleStringDelegate? UnpairedFromOther;
|
||||
|
||||
public Dictionary<int, List<DownloadFileTransfer>> CurrentDownloads { get; } = new();
|
||||
public ConcurrentDictionary<int, List<DownloadFileTransfer>> CurrentDownloads { get; } = new();
|
||||
|
||||
public List<FileTransfer> CurrentUploads { get; } = new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue