Correctly close connections in UnavailablePendingReleases housekeeper

Regression from PG
This commit is contained in:
Qstick 2023-08-12 20:59:21 -05:00
parent c423d1e7f8
commit b1d12b8ee9
1 changed files with 1 additions and 1 deletions

View File

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