From efec6eada2557974433d6471a450391f4c522fb7 Mon Sep 17 00:00:00 2001 From: Ava Chaney Date: Sat, 27 May 2023 17:21:15 -0700 Subject: [PATCH] cleanup: remove obsolete method to reload all plugins --- Dalamud/Plugin/Internal/PluginManager.cs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Dalamud/Plugin/Internal/PluginManager.cs b/Dalamud/Plugin/Internal/PluginManager.cs index 0ff63f2c0..47f96dea4 100644 --- a/Dalamud/Plugin/Internal/PluginManager.cs +++ b/Dalamud/Plugin/Internal/PluginManager.cs @@ -580,23 +580,6 @@ internal partial class PluginManager : IDisposable, IServiceType tokenSource.Token); } - /// - /// Reload all loaded plugins. - /// - /// A task. - [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()); - } - } - /// /// Reload the PluginMaster for each repo, filter, and event that the list has updated. ///