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

View File

@ -251,7 +251,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 db;
BLL.Funs.DBList.TryRemove(System.Threading.Thread.CurrentThread.ManagedThreadId,out db);
db.Dispose();
}
}