mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
fix: we need ReliableFileStorage still when disposing config
This commit is contained in:
parent
f367b36962
commit
bef5e7c3f5
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
|
|
@ -6,6 +5,7 @@ using System.Linq;
|
|||
|
||||
using Dalamud.Game.Text;
|
||||
using Dalamud.Interface.Style;
|
||||
using Dalamud.IoC.Internal;
|
||||
using Dalamud.Plugin.Internal.Profiles;
|
||||
using Dalamud.Storage;
|
||||
using Dalamud.Utility;
|
||||
|
|
@ -20,6 +20,9 @@ namespace Dalamud.Configuration.Internal;
|
|||
/// </summary>
|
||||
[Serializable]
|
||||
[ServiceManager.Service]
|
||||
#pragma warning disable SA1015
|
||||
[InherentDependency<ReliableFileStorage>] // We must still have this when unloading
|
||||
#pragma warning restore SA1015
|
||||
internal sealed class DalamudConfiguration : IServiceType, IDisposable
|
||||
{
|
||||
private static readonly JsonSerializerSettings SerializerSettings = new()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue