mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-24 06:17:08 -04:00
Correctly close connections in UnavailablePendingReleases housekeeper
Regression from PG
This commit is contained in:
parent
c423d1e7f8
commit
b1d12b8ee9
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Housekeeping.Housekeepers
|
|||
|
||||
public void Clean()
|
||||
{
|
||||
var mapper = _database.OpenConnection();
|
||||
using var mapper = _database.OpenConnection();
|
||||
|
||||
if (_database.DatabaseType == DatabaseType.PostgreSQL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue