This commit is contained in:
parent
0091a9439c
commit
21e63c8e23
|
|
@ -199,7 +199,9 @@ namespace FineUIPro.Mobile
|
||||||
{
|
{
|
||||||
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue