fixed build

pull/3689/head
tidusjar 4 years ago
parent b3de7374e1
commit 992f69be52

@ -132,7 +132,7 @@ namespace Ombi.Schedule.Jobs.Couchpotato
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
_ctx?.Dispose(); _ctx?.Dispose();
} }
_disposed = true; _disposed = true;

@ -216,7 +216,7 @@ namespace Ombi.Schedule.Jobs.Emby
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -167,7 +167,7 @@ namespace Ombi.Schedule.Jobs.Emby
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -172,8 +172,8 @@ namespace Ombi.Schedule.Jobs.Emby
if (disposing) if (disposing)
{ {
_userManager?.Dispose(); _userManager?.Dispose();
_embySettings?.Dispose(); //_embySettings?.Dispose();
_userManagementSettings?.Dispose(); //_userManagementSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -118,7 +118,7 @@ namespace Ombi.Schedule.Jobs.Lidarr
if (disposing) if (disposing)
{ {
_ctx?.Dispose(); _ctx?.Dispose();
_lidarrSettings?.Dispose(); //_lidarrSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -114,7 +114,7 @@ namespace Ombi.Schedule.Jobs.Lidarr
if (disposing) if (disposing)
{ {
_ctx?.Dispose(); _ctx?.Dispose();
_lidarrSettings?.Dispose(); //_lidarrSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -51,7 +51,7 @@ namespace Ombi.Schedule.Jobs.Ombi
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -97,7 +97,7 @@ namespace Ombi.Schedule.Jobs.Ombi
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -1021,9 +1021,9 @@ namespace Ombi.Schedule.Jobs.Ombi
if (disposing) if (disposing)
{ {
_newsletterSettings?.Dispose(); //_newsletterSettings?.Dispose();
_customizationSettings?.Dispose(); //_customizationSettings?.Dispose();
_emailSettings.Dispose(); //_emailSettings.Dispose();
_templateRepo?.Dispose(); _templateRepo?.Dispose();
_userManager?.Dispose(); _userManager?.Dispose();
} }

@ -335,7 +335,7 @@ namespace Ombi.Schedule.Jobs.Ombi
if (disposing) if (disposing)
{ {
Settings?.Dispose(); //Settings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -372,7 +372,7 @@ namespace Ombi.Schedule.Jobs.Ombi
if (disposing) if (disposing)
{ {
_plexSettings?.Dispose(); //_plexSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -70,8 +70,8 @@ namespace Ombi.Schedule.Jobs.Ombi
if (disposing) if (disposing)
{ {
_emailSettings?.Dispose(); //_emailSettings?.Dispose();
_customizationSettings?.Dispose(); //_customizationSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -667,7 +667,7 @@ namespace Ombi.Schedule.Jobs.Plex
if (disposing) if (disposing)
{ {
Plex?.Dispose(); //Plex?.Dispose();
EpisodeSync?.Dispose(); EpisodeSync?.Dispose();
} }
_disposed = true; _disposed = true;

@ -218,7 +218,7 @@ namespace Ombi.Schedule.Jobs.Plex
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -195,8 +195,8 @@ namespace Ombi.Schedule.Jobs.Plex
if (disposing) if (disposing)
{ {
_userManager?.Dispose(); _userManager?.Dispose();
_plexSettings?.Dispose(); //_plexSettings?.Dispose();
_userManagementSettings?.Dispose(); //_userManagementSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -112,7 +112,7 @@ namespace Ombi.Schedule.Jobs.Radarr
if (disposing) if (disposing)
{ {
_ctx?.Dispose(); _ctx?.Dispose();
RadarrSettings?.Dispose(); //RadarrSettings?.Dispose();
} }
_disposed = true; _disposed = true;
} }

@ -100,7 +100,7 @@ namespace Ombi.Schedule.Jobs.SickRage
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
_ctx?.Dispose(); _ctx?.Dispose();
} }
_disposed = true; _disposed = true;

@ -108,7 +108,7 @@ namespace Ombi.Schedule.Jobs.Sonarr
if (disposing) if (disposing)
{ {
_settings?.Dispose(); //_settings?.Dispose();
_ctx?.Dispose(); _ctx?.Dispose();
} }
_disposed = true; _disposed = true;

Loading…
Cancel
Save