mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 18:07:22 +01:00
oml
This commit is contained in:
parent
7f04db2c13
commit
ed5274a337
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ public sealed class CachedFileProvider : IDisposable
|
|||
if (fi == null && IsMainServer) return;
|
||||
|
||||
await _downloadSemaphore.WaitAsync().ConfigureAwait(false);
|
||||
if ((fi.Length == 0 || fi == null) && !_currentTransfers.ContainsKey(hash))
|
||||
if ((fi == null || (fi?.Length ?? 0) == 0) && !_currentTransfers.ContainsKey(hash))
|
||||
{
|
||||
_currentTransfers[hash] = Task.Run(async () =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue