Skip to content

Commit

Permalink
v1.0.106 UIKit OnApplicationQuit 时清空静态数据(支持 Domain Reload 设置,于大进 提供反馈…
Browse files Browse the repository at this point in the history
…和测试)
  • Loading branch information
[email protected] committed Nov 8, 2023
1 parent b37eebb commit 30c1c54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Id": "",
"Version": "v1.0.105",
"Version": "v1.0.106",
"Type": 0,
"AccessRight": 0,
"DownloadUrl": "",
Expand All @@ -11,10 +11,10 @@
],
"DocUrl": "https://liangxiegame.com",
"Readme": {
"version": "v1.0.105",
"content": "ActionKit 支持双击事件(诗远 PR)",
"version": "v1.0.106",
"content": "UIKit OnApplicationQuit 时清空静态数据(支持 Domain Reload 设置,于大进 提供反馈和测试)",
"author": "liangxie",
"date": "2023 年 11 月 08 日 14:35",
"date": "2023 年 11 月 08 日 15:27",
"PackageId": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,32 +1,15 @@
/****************************************************************************
* Copyright (c) 2017 xiaojun
* Copyright (c) 2017 imagicbell
* Copyright (c) 2017 ~ 2021.3 liangxie
* Copyright (c) 2017 ~ 2023 liangxiegame UNDER THE MIT LICENSE
*
* http://qframework.io
* https://qframework.cn
* https://github.com/liangxiegame/QFramework
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* https://gitee.com/liangxiegame/QFramework
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
****************************************************************************/

using System;
using System.Collections;
using System.Linq;
using UnityEngine;

Expand Down Expand Up @@ -261,5 +244,10 @@ public void CreateUIAsync(PanelSearchKeys panelSearchKeys, Action<IPanel> onPane
onPanelCreate(panel);
});
}

private void OnApplicationQuit()
{
UIKit.Table.Clear();
}
}
}

0 comments on commit 30c1c54

Please sign in to comment.