This commit is contained in:
2026-06-09 15:47:01 +08:00
parent 9b4db50bfe
commit 420b242006
2 changed files with 29 additions and 8 deletions
+3 -1
View File
@@ -165,7 +165,9 @@ namespace FineUIPro.Web
{
if (BLL.Funs.DBList.ContainsKey(System.Threading.Thread.CurrentThread.ManagedThreadId))
{
BLL.Funs.DBList.Remove(System.Threading.Thread.CurrentThread.ManagedThreadId);
Model.SGGLDB outdb;
BLL.Funs.DBList.TryRemove(System.Threading.Thread.CurrentThread.ManagedThreadId, out outdb);
outdb.Dispose();
}
}