aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/CoreAppHost.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-06-18 17:06:38 -0400
committerPatrick Barron <barronpm@gmail.com>2021-06-18 17:06:38 -0400
commit3d9c16ba6b8be965da8ed57510f8f90831ed1e22 (patch)
tree0df8c899cbf30c22450d911d932d7370ed07de0e /Jellyfin.Server/CoreAppHost.cs
parent373155a06324140fe8b0ff95d4f58c7a498db2e2 (diff)
Fix concurrency issues
Diffstat (limited to 'Jellyfin.Server/CoreAppHost.cs')
-rw-r--r--Jellyfin.Server/CoreAppHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.cs
index 362be8531..e480b9a69 100644
--- a/Jellyfin.Server/CoreAppHost.cs
+++ b/Jellyfin.Server/CoreAppHost.cs
@@ -95,7 +95,7 @@ namespace Jellyfin.Server
ServiceCollection.AddSingleton<IWebSocketListener, ScheduledTasksWebSocketListener>();
ServiceCollection.AddSingleton<IWebSocketListener, SessionInfoWebSocketListener>();
- ServiceCollection.AddScoped<IAuthorizationContext, AuthorizationContext>();
+ ServiceCollection.AddSingleton<IAuthorizationContext, AuthorizationContext>();
base.RegisterServices();
}