Ver Fonte

配置优化

guodong há 1 ano atrás
pai
commit
436932f12b

+ 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);
+        }
     }
 }