fix idiocy

This commit is contained in:
Stanley Dimant
2024-11-16 23:05:59 +01:00
parent 3a9f93b157
commit b858f8286e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,8 +17,8 @@ public sealed class MareConfigurationServiceServer<T> : IDisposable, IConfigurat
public MareConfigurationServiceServer(IOptionsMonitor<T> config)
{
_onChanged = _config.OnChange((c) => { ConfigChangedEvent?.Invoke(this, EventArgs.Empty); });
_config = config;
_onChanged = config.OnChange((c) => { ConfigChangedEvent?.Invoke(this, EventArgs.Empty); });
}
public T1 GetValueOrDefault<T1>(string key, T1 defaultValue)