diff --git a/Core/Addon/ConfigAddonReader.cs b/Core/Addon/ConfigAddonReader.cs index 59b5e80a..5e8e5afd 100644 --- a/Core/Addon/ConfigAddonReader.cs +++ b/Core/Addon/ConfigAddonReader.cs @@ -6,14 +6,14 @@ namespace Core.Addon; public sealed class ConfigAddonReader : IAddonReader { private readonly IAddonDataProvider reader; - private readonly AutoResetEvent autoResetEvent; + private readonly ManualResetEventSlim autoResetEvent; public double AvgUpdateLatency => throw new NotImplementedException(); public string TargetName => throw new NotImplementedException(); public event Action? AddonDataChanged; - public ConfigAddonReader(IAddonDataProvider reader, AutoResetEvent autoResetEvent) + public ConfigAddonReader(IAddonDataProvider reader, ManualResetEventSlim autoResetEvent) { this.reader = reader; this.autoResetEvent = autoResetEvent;