This commit is contained in:
2026-04-01 20:21:59 +08:00
parent 21e63c8e23
commit 5ae8d3bae4
+3 -1
View File
@@ -251,7 +251,9 @@ namespace FineUIPro.Web
{ {
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();
} }
} }