From 19cf9c012997f7a601fd7989fb690941197261c8 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 28 Feb 2023 18:25:48 +0800 Subject: [PATCH] update download system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复关闭编辑器时的报错。 --- Assets/YooAsset/Runtime/DownloadSystem/DownloadSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystem.cs b/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystem.cs index 32da42d..2cd2295 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystem.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/DownloadSystem.cs @@ -77,11 +77,11 @@ namespace YooAsset } _downloaderDic.Clear(); _removeList.Clear(); - + RequestDelegate = null; CertificateHandlerInstance = null; BreakpointResumeFileSize = int.MaxValue; - ClearFileResponseCodes.Clear(); + ClearFileResponseCodes = null; }