Re-enable the updater

This commit is contained in:
flightlevel 2018-06-14 19:21:31 +10:00
parent e82b54994e
commit 33e35f1bd3
2 changed files with 4 additions and 6 deletions

View File

@ -39,6 +39,9 @@ namespace Jackett.Server
//Load the indexers //Load the indexers
ServerService.Initalize(); ServerService.Initalize();
//Kicks off the update checker
ServerService.Start();
} }
private static void ProcessSettings() private static void ProcessSettings()

View File

@ -20,8 +20,6 @@ namespace Jackett.Server.Services
{ {
public class ServerService : IServerService public class ServerService : IServerService
{ {
private IDisposable _server = null;
private IIndexerManagerService indexerService; private IIndexerManagerService indexerService;
private IProcessService processService; private IProcessService processService;
private ISerializeService serializeService; private ISerializeService serializeService;
@ -292,10 +290,7 @@ namespace Jackett.Server.Services
public void Stop() public void Stop()
{ {
if (_server != null) // Only needed for Owin
{
_server.Dispose();
}
} }
public string GetServerUrl(Object obj) public string GetServerUrl(Object obj)