pull/186/head^2
hevinci 2023-09-26 18:51:00 +08:00
parent 8d6a1d0066
commit 41d1586109
1 changed files with 1 additions and 1 deletions

View File

@ -77,9 +77,9 @@ namespace YooAsset
internal void SetFinish()
{
Progress = 1f;
_callback?.Invoke(this); //注意如果完成回调内发生异常会导致Task无限期等待
if (_taskCompletionSource != null)
_taskCompletionSource.TrySetResult(null);
_callback?.Invoke(this);
}
internal void SetStart()
{