Cleanup, updated changelog

This commit is contained in:
RisaDev
2024-10-26 00:02:44 +03:00
parent 85dede2668
commit 007a59397d
2 changed files with 13 additions and 11 deletions

View File

@@ -11,6 +11,8 @@ using CustomizePlus.Profiles;
using CustomizePlus.Armatures.Services;
using CustomizePlus.GameData.Data;
using Penumbra.GameData.Interop;
using Dalamud.Plugin;
using CustomizePlus.Core.Helpers;
namespace CustomizePlus.Core.Services;
@@ -55,6 +57,15 @@ public class HookingService : IDisposable
ReloadHooks();
}
public void Dispose()
{
_gameObjectMovementHook?.Disable();
_gameObjectMovementHook?.Dispose();
_renderManagerHook?.Disable();
_renderManagerHook?.Dispose();
}
public void ReloadHooks()
{
RenderHookFailed = false;
@@ -150,13 +161,4 @@ public class HookingService : IDisposable
_gameObjectMovementHook?.Disable();
}
}
public void Dispose()
{
_gameObjectMovementHook?.Disable();
_gameObjectMovementHook?.Dispose();
_renderManagerHook?.Disable();
_renderManagerHook?.Dispose();
}
}

View File

@@ -59,8 +59,8 @@ public class CPlusChangeLog
.RegisterEntry("Added option to configure if Customize+ windows will be hidden when you enter GPose or not.", 1)
.RegisterEntry("Added option to configure if Customize+ main window will be automatically opened when you launch the game or not.", 1)
.RegisterImportant("Added warning for custom skeleton bones. If you have custom skeleton installed - read it. Seriously. It's a wrench icon near those bones.")
.RegisterEntry("Added warning for testing builds.")
.RegisterImportant("Added warning for custom skeleton bones. If you have custom skeleton installed - read it. Seriously. It's a wrench icon near the name of those bones.")
.RegisterEntry("Added warnings for testing builds in various places.")
.RegisterImportant("IPC notes, developers only.")
.RegisterImportant("IPC version is now 6.0.", 1)