接口过滤器增加释放数据库连接
This commit is contained in:
@@ -670,7 +670,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
item.PipeLineMatId = pipeLineMat.First().PipeLineMatId;
|
||||
BLL.PipelineMatService.UpdatePipeLineMat(item);
|
||||
}
|
||||
BLL.HJGL_PipelineComponentService.SyncPipelineComponentByMatId(item.PipeLineMatId);
|
||||
BLL.HJGL_PipelineComponentService.SyncPipelineComponentByMatId(item.PipeLineMatId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,6 +95,7 @@ namespace WebAPI.Filter
|
||||
{
|
||||
if (BLL.Funs.DBList.ContainsKey(System.Threading.Thread.CurrentThread.ManagedThreadId))
|
||||
{
|
||||
BLL.Funs.DBList[System.Threading.Thread.CurrentThread.ManagedThreadId].Dispose();
|
||||
BLL.Funs.DBList.Remove(System.Threading.Thread.CurrentThread.ManagedThreadId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user