mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: use ConcurrentDictionary in HookManager
This commit is contained in:
parent
86b5eec493
commit
0a50e1460e
1 changed files with 2 additions and 2 deletions
|
|
@ -31,12 +31,12 @@ namespace Dalamud.Hooking.Internal
|
|||
/// <summary>
|
||||
/// Gets a static dictionary of original code for a hooked address.
|
||||
/// </summary>
|
||||
internal static Dictionary<IntPtr, byte[]> Originals { get; } = new();
|
||||
internal static ConcurrentDictionary<IntPtr, byte[]> Originals { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Gets a static dictionary of the number of hooks on a given address.
|
||||
/// </summary>
|
||||
internal static Dictionary<IntPtr, List<IDalamudHook?>> MultiHookTracker { get; } = new();
|
||||
internal static ConcurrentDictionary<IntPtr, List<IDalamudHook?>> MultiHookTracker { get; } = new();
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void Dispose()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue