diff options
| author | BitToby <218712309+bittoby@users.noreply.github.com> | 2026-05-10 18:29:05 -1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-11 06:29:05 +0200 |
| commit | 21f12a1ad0f04e1770e24fa23c0ff0318611bf09 (patch) | |
| tree | 19d101bd77a1f76985b03c07b9659a456053b3ab /Emby.Server.Implementations | |
| parent | be0f0b97611e9b926818f2b455fde12261ce36be (diff) | |
Suppress CA2213 false positive on ApplicationHost._pluginManager (#2149) (#16792)
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index b7aa2f3d06..3e98a5276c 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -166,8 +166,6 @@ namespace Emby.Server.Implementations ConfigurationManager.Configuration, ApplicationPaths.PluginsPath, ApplicationVersion); - - _disposableParts.Add(_pluginManager); } /// <summary> @@ -1014,6 +1012,8 @@ namespace Emby.Server.Implementations } _disposableParts.Clear(); + + _pluginManager?.Dispose(); } _disposed = true; |
