mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
feat: add wndproc nullref fix
This commit is contained in:
parent
3cf47f7ec4
commit
baad575c53
7 changed files with 112 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ using System.Threading;
|
|||
|
||||
using Dalamud.Configuration.Internal;
|
||||
using Dalamud.Data;
|
||||
using Dalamud.Fixes;
|
||||
using Dalamud.Game;
|
||||
using Dalamud.Game.ClientState;
|
||||
using Dalamud.Game.Command;
|
||||
|
|
@ -102,6 +103,10 @@ namespace Dalamud
|
|||
Service<SigScanner>.Set(new SigScanner(true));
|
||||
Service<HookManager>.Set();
|
||||
|
||||
// Initialize game fixes
|
||||
var gameFixes = Service<GameFixes>.Set();
|
||||
gameFixes.Apply();
|
||||
|
||||
// Initialize FFXIVClientStructs function resolver
|
||||
FFXIVClientStructs.Resolver.Initialize();
|
||||
Log.Information("[T1] FFXIVClientStructs initialized!");
|
||||
|
|
@ -347,6 +352,8 @@ namespace Dalamud
|
|||
Service<Framework>.GetNullable()?.ExplicitDispose();
|
||||
Service<ClientState>.GetNullable()?.ExplicitDispose();
|
||||
|
||||
Service<GameFixes>.GetNullable()?.ExplicitDispose();
|
||||
|
||||
this.unloadSignal?.Dispose();
|
||||
|
||||
Service<WinSockHandlers>.GetNullable()?.Dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue