diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-02-06 14:04:32 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-02-12 20:52:23 +0100 |
| commit | 9af28607c990f5ddcd738c72d7183b9a57ba47c2 (patch) | |
| tree | f5d5f7b61f9d47d8c97ce63c85a724f20abf6987 /Jellyfin.Server/CoreAppHost.cs | |
| parent | 81a8ebde22e92c9d8f4292bfb18c9134f43bd956 (diff) | |
Simplify plugin loading
Diffstat (limited to 'Jellyfin.Server/CoreAppHost.cs')
| -rw-r--r-- | Jellyfin.Server/CoreAppHost.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.cs index 315e34a04..a486c2a47 100644 --- a/Jellyfin.Server/CoreAppHost.cs +++ b/Jellyfin.Server/CoreAppHost.cs @@ -21,7 +21,9 @@ namespace Jellyfin.Server protected override void RestartInternal() => Program.Restart(); protected override IEnumerable<Assembly> GetAssembliesWithPartsInternal() - => new[] { typeof(CoreAppHost).Assembly }; + { + yield return typeof(CoreAppHost).Assembly; + } protected override void ShutdownInternal() => Program.Shutdown(); |
