mirror of https://github.com/tuyoogame/YooAsset
fix #226
parent
2630a7e793
commit
f90530e9f4
|
@ -72,9 +72,14 @@ namespace YooAsset
|
|||
_isUnloadSafe = false;
|
||||
for (int i = 0; i < _providerList.Count; i++)
|
||||
{
|
||||
var provider = _providerList[i];
|
||||
if (provider.IsDone)
|
||||
continue;
|
||||
|
||||
provider.Update();
|
||||
|
||||
if (IsBusy)
|
||||
break;
|
||||
_providerList[i].Update();
|
||||
}
|
||||
_isUnloadSafe = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue