aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints/SystemEvents.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-09-10 20:30:30 -0400
committerGitHub <noreply@github.com>2017-09-10 20:30:30 -0400
commit58cd0bb287413a9957dfac35babc5489b4e056f1 (patch)
treeebe6b0cbb4fc5f0c2cbe6b6e8516a9108e9f8b56 /Emby.Server.Implementations/EntryPoints/SystemEvents.cs
parenta0298ccc6d76eb943178d1ccf895700ee7052281 (diff)
parent7ced4478d36a7d658a613357c002833112e8a8df (diff)
Merge pull request #2877 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/SystemEvents.cs')
-rw-r--r--Emby.Server.Implementations/EntryPoints/SystemEvents.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/SystemEvents.cs b/Emby.Server.Implementations/EntryPoints/SystemEvents.cs
index aa63dae27..08f3edb3d 100644
--- a/Emby.Server.Implementations/EntryPoints/SystemEvents.cs
+++ b/Emby.Server.Implementations/EntryPoints/SystemEvents.cs
@@ -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();