Hack-fix unload error
This commit is contained in:
@@ -178,13 +178,17 @@ public sealed class TransientResourceManager : DisposableMediatorSubscriberBase
|
|||||||
{
|
{
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
|
|
||||||
TransientResources.Clear();
|
try
|
||||||
SemiTransientResources.Clear();
|
|
||||||
if (SemiTransientResources.TryGetValue(ObjectKind.Player, out HashSet<string>? value))
|
|
||||||
{
|
{
|
||||||
_configurationService.Current.PlayerPersistentTransientCache[PlayerPersistentDataKey] = value;
|
TransientResources.Clear();
|
||||||
_configurationService.Save();
|
SemiTransientResources.Clear();
|
||||||
|
if (SemiTransientResources.TryGetValue(ObjectKind.Player, out HashSet<string>? value))
|
||||||
|
{
|
||||||
|
_configurationService.Current.PlayerPersistentTransientCache[PlayerPersistentDataKey] = value;
|
||||||
|
_configurationService.Save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
catch { }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DalamudUtil_ClassJobChanged()
|
private void DalamudUtil_ClassJobChanged()
|
||||||
|
|||||||
Reference in New Issue
Block a user