mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Use hashset to prevent duplicate entries
This commit is contained in:
parent
c525655be6
commit
166f249e13
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ internal unsafe class AddonLifecycle : IInternalDisposableService
|
|||
/// <summary>
|
||||
/// Gets a list of all AddonLifecycle Event Listeners.
|
||||
/// </summary>
|
||||
internal Dictionary<AddonEvent, List<AddonLifecycleEventListener>> EventListeners { get; } = [];
|
||||
internal Dictionary<AddonEvent, HashSet<AddonLifecycleEventListener>> EventListeners { get; } = [];
|
||||
|
||||
/// <inheritdoc/>
|
||||
void IInternalDisposableService.DisposeService()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue