소스 검색

配置优化

guodong 1 년 전
부모
커밋
436932f12b
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Data/ItemDataManager.cs
  2. 5 0
      GameClient/Assets/Game/HotUpdate/HotUpdateDriver.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/ItemDataManager.cs

@@ -199,7 +199,7 @@ namespace GFGGame
             {
                 Add(roleItem);
             }
-            DressUpMenuItemDataManager.StartPreLoadItemCfg();
+            //DressUpMenuItemDataManager.StartPreLoadItemCfg();
             _ = DressUpMenuItemDataManager.GetAllDressUpGuideIdListBySubTypeAsync();
 
         }

+ 5 - 0
GameClient/Assets/Game/HotUpdate/HotUpdateDriver.cs

@@ -28,5 +28,10 @@ namespace GFGGame
         {
             OperationSystem.DestroyAll();
         }
+
+        private void OnApplicationQuit()
+        {
+            SQLiteHelper.Instance.CloseConnection(true);
+        }
     }
 }