This commit is contained in:
2026-04-22 19:13:04 +08:00
4 changed files with 30 additions and 13 deletions
+6 -1
View File
@@ -330,7 +330,12 @@ 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);
if (db != null)
{
db.Dispose();
}
}
if (BLL.SQLHelper.GetConn().State == ConnectionState.Open)