mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-25 10:11:51 +00:00
Update DownloadCenterOperation.cs
This commit is contained in:
@@ -42,7 +42,11 @@ namespace YooAsset
|
|||||||
// 移除下载器
|
// 移除下载器
|
||||||
foreach (var key in _removeList)
|
foreach (var key in _removeList)
|
||||||
{
|
{
|
||||||
_downloaders.Remove(key);
|
if (_downloaders.TryGetValue(key, out var downloader))
|
||||||
|
{
|
||||||
|
Childs.Remove(downloader);
|
||||||
|
_downloaders.Remove(key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 最大并发数检测
|
// 最大并发数检测
|
||||||
|
|||||||
Reference in New Issue
Block a user