- 修复 DbConnectionPool.Return 在 Sqlite 下的 bug;#179

This commit is contained in:
28810
2020-01-08 12:28:23 +08:00
parent 0dec7ff587
commit 3af89abbb1
2 changed files with 1 additions and 8 deletions

View File

@ -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)