update asset system

修复了在销毁Package时,如果存在正在加载的bundle,会导致后续加载该bundle报错的问题。
This commit is contained in:
hevinci
2023-07-12 20:56:11 +08:00
parent 5931d91b5f
commit ed5ae40cb3
2 changed files with 3 additions and 25 deletions
@@ -62,7 +62,7 @@ namespace YooAsset
if (_assetSystemImpl != null)
{
_assetSystemImpl.DestroyAll();
_assetSystemImpl.ForceUnloadAllAssets();
_assetSystemImpl = null;
}
}