diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-02-23 10:53:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-23 10:53:44 +0900 |
| commit | 6e239c52c593559080576bc41f9b364280e2b9d9 (patch) | |
| tree | 12e5a14643d279d01942f6c1487b7bd1cfd8269b /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 6715450598e175efb3dc42d9448d2e421d854bdb (diff) | |
| parent | 0f173e1778577f11d86da38ff2174ac1f0e7d612 (diff) | |
Merge pull request #2291 from Bond-009/sessionmanager
Fix warnings in SessionManager
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index dee0edd26..fd0112266 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -819,7 +819,18 @@ namespace Emby.Server.Implementations ChannelManager = new ChannelManager(UserManager, DtoService, LibraryManager, LoggerFactory, ServerConfigurationManager, FileSystemManager, UserDataManager, JsonSerializer, ProviderManager); serviceCollection.AddSingleton(ChannelManager); - SessionManager = new SessionManager(UserDataManager, LoggerFactory, LibraryManager, UserManager, musicManager, DtoService, ImageProcessor, this, AuthenticationRepository, DeviceManager, MediaSourceManager); + SessionManager = new SessionManager( + LoggerFactory.CreateLogger<SessionManager>(), + UserDataManager, + LibraryManager, + UserManager, + musicManager, + DtoService, + ImageProcessor, + this, + AuthenticationRepository, + DeviceManager, + MediaSourceManager); serviceCollection.AddSingleton(SessionManager); serviceCollection.AddSingleton<IDlnaManager>( |
