mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
Compare commits
2 commits
21d4dbec66
...
7a45c0d661
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a45c0d661 | ||
|
|
87e391958e |
1 changed files with 8 additions and 5 deletions
|
|
@ -1299,13 +1299,16 @@ internal class PluginManager : IInternalDisposableService
|
|||
/// <param name="affectedInternalNames">The affected plugins.</param>
|
||||
public void NotifyPluginsForStateChange(PluginListInvalidationKind kind, IEnumerable<string> affectedInternalNames)
|
||||
{
|
||||
foreach (var installedPlugin in this.installedPluginsList)
|
||||
lock (this.pluginListLock)
|
||||
{
|
||||
if (!installedPlugin.IsLoaded || installedPlugin.DalamudInterface == null)
|
||||
continue;
|
||||
foreach (var installedPlugin in this.installedPluginsList)
|
||||
{
|
||||
if (!installedPlugin.IsLoaded || installedPlugin.DalamudInterface == null)
|
||||
continue;
|
||||
|
||||
installedPlugin.DalamudInterface.NotifyActivePluginsChanged(
|
||||
new ActivePluginsChangedEventArgs(kind, affectedInternalNames));
|
||||
installedPlugin.DalamudInterface.NotifyActivePluginsChanged(
|
||||
new ActivePluginsChangedEventArgs(kind, affectedInternalNames));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue