Closed aljaz00 closed 5 months ago
nopCommerce version: 4.60.2 using MSSQL as DB
When using await _nopDataProvider.QueryProcAsync<T> connections are not closed. It's the same with using await _nopDataProvider.ExecuteNonQueryAsync<T>.
await _nopDataProvider.QueryProcAsync<T>
await _nopDataProvider.ExecuteNonQueryAsync<T>
I think the problem is with method CreateDbCommand, it's not disposing connection as it should.
CreateDbCommand
Closed #7118
nopCommerce version: 4.60.2 using MSSQL as DB
When using
await _nopDataProvider.QueryProcAsync<T>
connections are not closed. It's the same with usingawait _nopDataProvider.ExecuteNonQueryAsync<T>
.I think the problem is with method
CreateDbCommand
, it's not disposing connection as it should.