diff --git a/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileGeneralRequest.cs b/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileGeneralRequest.cs index d9a2698..11d49f9 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileGeneralRequest.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileGeneralRequest.cs @@ -99,7 +99,8 @@ namespace YooAsset { if (_webRequest != null) { - _webRequest.Dispose(); //注意:引擎底层会自动调用Abort方法 + //注意:引擎底层会自动调用Abort方法 + _webRequest.Dispose(); _webRequest = null; } } diff --git a/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileResumeRequest.cs b/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileResumeRequest.cs index 103066f..0936a46 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileResumeRequest.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/Requester/FileResumeRequest.cs @@ -142,6 +142,7 @@ namespace YooAsset if (_webRequest != null) { + //注意:引擎底层会自动调用Abort方法 _webRequest.Dispose(); _webRequest = null; }