mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +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