This commit is contained in:
李超 2026-04-01 20:20:59 +08:00
parent 0091a9439c
commit 21e63c8e23
1 changed files with 3 additions and 1 deletions

View File

@ -199,7 +199,9 @@ namespace FineUIPro.Mobile
{ {
if (BLL.Funs.DBList.ContainsKey(System.Threading.Thread.CurrentThread.ManagedThreadId)) 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();
} }
} }