diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-21 23:17:30 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-21 23:17:30 +0100 |
| commit | dc140429fe5d6718d516a02ee3951e191f9db621 (patch) | |
| tree | b4416471dc9d8d93254e559d576c72da2d5d6896 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | aa546dd36abb688cb3a5d10e589521ebf79ef610 (diff) | |
Do not create unnecessary instances of IService at server startup
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index aa22ac8b9f..3c9bd207bb 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -1046,7 +1046,7 @@ namespace Emby.Server.Implementations .Where(i => i != null) .ToArray(); - HttpServer.Init(GetExports<IService>(false), GetExports<IWebSocketListener>(), GetUrlPrefixes()); + HttpServer.Init(GetExportTypes<IService>(), GetExports<IWebSocketListener>(), GetUrlPrefixes()); LibraryManager.AddParts( GetExports<IResolverIgnoreRule>(), |
