Merge pull request #1166 from Bond-009/#1162

Fix exception on startup
pull/1170/head
Joshua M. Boniface 6 years ago committed by GitHub
commit fd86b141e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1042,8 +1042,6 @@ namespace Emby.Server.Implementations
CollectionFolder.JsonSerializer = JsonSerializer;
CollectionFolder.ApplicationHost = this;
AuthenticatedAttribute.AuthService = AuthService;
InstallationManager.PluginInstalled += PluginInstalled;
}
private async void PluginInstalled(object sender, GenericEventArgs<PackageVersionInfo> args)
@ -1085,6 +1083,7 @@ namespace Emby.Server.Implementations
protected void FindParts()
{
InstallationManager = _serviceProvider.GetService<IInstallationManager>();
InstallationManager.PluginInstalled += PluginInstalled;
if (!ServerConfigurationManager.Configuration.IsPortAuthorized)
{

Loading…
Cancel
Save