Update DownloadCenterOperation.cs
This commit is contained in:
+4
@@ -42,8 +42,12 @@ namespace YooAsset
|
|||||||
// 移除下载器
|
// 移除下载器
|
||||||
foreach (var key in _removeList)
|
foreach (var key in _removeList)
|
||||||
{
|
{
|
||||||
|
if (_downloaders.TryGetValue(key, out var downloader))
|
||||||
|
{
|
||||||
|
Childs.Remove(downloader);
|
||||||
_downloaders.Remove(key);
|
_downloaders.Remove(key);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 最大并发数检测
|
// 最大并发数检测
|
||||||
int processCount = GetProcessingOperationCount();
|
int processCount = GetProcessingOperationCount();
|
||||||
|
|||||||
Reference in New Issue
Block a user