mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Remove unused PowerManagement
It isn't up to the application to prevent the system from going to sleep
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user