pull/235/head
hevinci 2024-01-02 10:49:46 +08:00
parent 2630a7e793
commit f90530e9f4
1 changed files with 6 additions and 1 deletions

View File

@ -72,9 +72,14 @@ namespace YooAsset
_isUnloadSafe = false; _isUnloadSafe = false;
for (int i = 0; i < _providerList.Count; i++) for (int i = 0; i < _providerList.Count; i++)
{ {
var provider = _providerList[i];
if (provider.IsDone)
continue;
provider.Update();
if (IsBusy) if (IsBusy)
break; break;
_providerList[i].Update();
} }
_isUnloadSafe = true; _isUnloadSafe = true;
} }