mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
remove unused service properties
This commit is contained in:
@@ -23,18 +23,9 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
|
||||
public void Run()
|
||||
{
|
||||
_systemEvents.SessionLogoff += _systemEvents_SessionLogoff;
|
||||
_systemEvents.SystemShutdown += _systemEvents_SystemShutdown;
|
||||
}
|
||||
|
||||
private void _systemEvents_SessionLogoff(object sender, EventArgs e)
|
||||
{
|
||||
if (!_appHost.IsRunningAsService)
|
||||
{
|
||||
_appHost.Shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
private void _systemEvents_SystemShutdown(object sender, EventArgs e)
|
||||
{
|
||||
_appHost.Shutdown();
|
||||
|
||||
Reference in New Issue
Block a user