Browse Source

华容道入口UI,销毁时删除定时器

leiyasi 1 year ago
parent
commit
82c35a9b2d

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/ActivityHuaRongDao/ActivityHuaRongDaoEntryView.cs

@@ -38,6 +38,7 @@ namespace GFGGame
 
         public override void Dispose()
         {
+            Timers.inst.Remove(UpdateTime);
             if (_ui != null)
             {
                 _ui.Dispose();