mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 16:44:14 +01:00
remove check for file existence because of download task might still be around
This commit is contained in:
parent
6a34f88a24
commit
3634cccd1e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ public class CachedFileProvider
|
|||
_currentTransfers[hash] = DownloadTask(hash, auth).ContinueWith(r => _currentTransfers.Remove(hash, out _));
|
||||
}
|
||||
|
||||
if (fi == null && _currentTransfers.TryGetValue(hash, out var downloadTask))
|
||||
if (_currentTransfers.TryGetValue(hash, out var downloadTask))
|
||||
{
|
||||
await downloadTask.ConfigureAwait(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue