mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-20 00:25:48 +08:00
- 修复 DbConnectionPool.Return 在 Sqlite 下的 bug;#179
This commit is contained in:
@@ -58,7 +58,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
if (obj.Value.State != ConnectionState.Closed)
|
||||
obj.Value.Close();
|
||||
if (_dataType == DataType.Sqlite)
|
||||
obj.Dispose();
|
||||
obj.Value.Dispose();
|
||||
}
|
||||
|
||||
public bool SetUnavailable(Exception exception)
|
||||
|
||||
Reference in New Issue
Block a user