style code

pull/297/head
hevinci 2024-04-26 16:06:49 +08:00
parent c9cc09cbed
commit b9b8f8e170
2 changed files with 3 additions and 1 deletions
Assets/YooAsset/Runtime/DownloadSystem/Requester

View File

@ -99,7 +99,8 @@ namespace YooAsset
{
if (_webRequest != null)
{
_webRequest.Dispose(); //注意引擎底层会自动调用Abort方法
//注意引擎底层会自动调用Abort方法
_webRequest.Dispose();
_webRequest = null;
}
}

View File

@ -142,6 +142,7 @@ namespace YooAsset
if (_webRequest != null)
{
//注意引擎底层会自动调用Abort方法
_webRequest.Dispose();
_webRequest = null;
}