mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:47:22 +01:00
fix unnecessary config reload on save
This commit is contained in:
parent
4650893599
commit
6d1cfed0ba
3 changed files with 7 additions and 0 deletions
|
|
@ -37,6 +37,11 @@ public abstract class ConfigurationServiceBase<T> : IConfigService<T> where T :
|
|||
ConfigSave?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
public void UpdateLastWriteTime()
|
||||
{
|
||||
_configLastWriteTime = GetConfigLastWriteTime();
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposing || _disposed) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue