From 21e63c8e232cc28dfc44c162a2cb08eb36970190 Mon Sep 17 00:00:00 2001 From: 10191 <506754232@qq.com> Date: Wed, 1 Apr 2026 20:20:59 +0800 Subject: [PATCH] 11 --- SGGL/FineUIPro.Mobile/common/PageBase.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Mobile/common/PageBase.cs b/SGGL/FineUIPro.Mobile/common/PageBase.cs index f7b91f08..f53190e6 100644 --- a/SGGL/FineUIPro.Mobile/common/PageBase.cs +++ b/SGGL/FineUIPro.Mobile/common/PageBase.cs @@ -199,7 +199,9 @@ namespace FineUIPro.Mobile { if (BLL.Funs.DBList.ContainsKey(System.Threading.Thread.CurrentThread.ManagedThreadId)) { - BLL.Funs.DBList.Remove(System.Threading.Thread.CurrentThread.ManagedThreadId); + Model.SGGLDB db; + BLL.Funs.DBList.TryRemove(System.Threading.Thread.CurrentThread.ManagedThreadId,out db); + db.Dispose(); } }