Compare commits

...

3 Commits

Author SHA1 Message Date
hevinci
ca89113c67 Update CHANGELOG.md 2023-09-26 18:54:25 +08:00
hevinci
29d840b168 Update package.json 2023-09-26 18:54:19 +08:00
hevinci
41d1586109 fix #96 2023-09-26 18:51:00 +08:00
3 changed files with 8 additions and 2 deletions

View File

@@ -2,6 +2,12 @@
All notable changes to this package will be documented in this file. All notable changes to this package will be documented in this file.
## [1.5.6-preview] - 2023-09-26
### Fixed
- (#172) 修复包裹初始化后package的状态不正确的问题。
## [1.5.5-preview] - 2023-09-25 ## [1.5.5-preview] - 2023-09-25
### Fixed ### Fixed

View File

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

View File

@@ -1,7 +1,7 @@
{ {
"name": "com.tuyoogame.yooasset", "name": "com.tuyoogame.yooasset",
"displayName": "YooAsset", "displayName": "YooAsset",
"version": "1.5.5-preview", "version": "1.5.6-preview",
"unity": "2019.4", "unity": "2019.4",
"description": "unity3d resources management system.", "description": "unity3d resources management system.",
"author": { "author": {