Remove unused PowerManagement

It isn't up to the application to prevent the system from going to sleep
This commit is contained in:
Bond_009
2019-01-02 15:57:48 +01:00
parent b27315bc08
commit c07d5a6963
8 changed files with 26 additions and 136 deletions

View File

@@ -13,7 +13,6 @@ using Emby.Server.Implementations;
using Emby.Server.Implementations.EnvironmentInfo;
using Emby.Server.Implementations.IO;
using Emby.Server.Implementations.Networking;
using Jellyfin.Server.Native;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Drawing;
@@ -71,7 +70,6 @@ namespace Jellyfin.Server
_loggerFactory,
options,
fileSystem,
new PowerManagement(),
environmentInfo,
new NullImageEncoder(),
new SystemEvents(_loggerFactory.CreateLogger("SystemEvents")),
@@ -274,7 +272,7 @@ namespace Jellyfin.Server
}
}
public static void Shutdown()
public static void Shutdown()
{
ApplicationTaskCompletionSource.SetResult(true);
}