mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
cleanup: remove obsolete method to reload all plugins
This commit is contained in:
parent
276ad3733f
commit
efec6eada2
1 changed files with 0 additions and 17 deletions
|
|
@ -580,23 +580,6 @@ internal partial class PluginManager : IDisposable, IServiceType
|
||||||
tokenSource.Token);
|
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>
|
/// <summary>
|
||||||
/// Reload the PluginMaster for each repo, filter, and event that the list has updated.
|
/// Reload the PluginMaster for each repo, filter, and event that the list has updated.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue