From f90bcf177217ad0e104bc811d576c1517b79758e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 09 一月 2026 11:04:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/AssetVersion/InGameDownLoadProgress.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Main/System/AssetVersion/InGameDownLoadProgress.cs b/Main/System/AssetVersion/InGameDownLoadProgress.cs
index 39c7d4b..53e6e82 100644
--- a/Main/System/AssetVersion/InGameDownLoadProgress.cs
+++ b/Main/System/AssetVersion/InGameDownLoadProgress.cs
@@ -59,6 +59,9 @@
     private void OnDestroy()
     {
         m_ViewDownLoad.RemoveAllListeners();
+        InGameDownLoad.Instance.downLoadStateChangeEvent -= OnDownLoadStateChange;
+        InGameDownLoad.Instance.dominantDownLoadEvent -= OnDownLoadDominantStateChange;
+        
     }
 
     private void OnDownLoadDominantStateChange(InGameDownLoad.Dominant _dominant)

--
Gitblit v1.8.0