Update AssetSystem

修复在资源加载完成回调内释放自身资源句柄时的异常报错。
This commit is contained in:
hevinci
2022-04-07 14:24:09 +08:00
parent efd0789e09
commit 28c22694ba
4 changed files with 10 additions and 14 deletions

View File

@@ -11,10 +11,7 @@ namespace YooAsset
}
internal override void InvokeCallback()
{
if (IsValid)
{
_callback?.Invoke(this);
}
_callback?.Invoke(this);
}
/// <summary>