cleanup: remove obsolete method to reload all plugins

This commit is contained in:
Ava Chaney 2023-05-27 17:21:15 -07:00
parent 276ad3733f
commit efec6eada2

View file

@ -580,23 +580,6 @@ internal partial class PluginManager : IDisposable, IServiceType
tokenSource.Token);
}
/// <summary>
/// Reload all loaded plugins.
/// </summary>
/// <returns>A task.</returns>
[Obsolete("This method should no longer be used and will be removed in a future release.")]
public Task ReloadAllPluginsAsync()
{
lock (this.pluginListLock)
{
return Task.WhenAll(this.InstalledPlugins
.Where(x => x.IsLoaded)
.ToList()
.Select(x => Task.Run(async () => await x.ReloadAsync()))
.ToList());
}
}
/// <summary>
/// Reload the PluginMaster for each repo, filter, and event that the list has updated.
/// </summary>