mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix: call PInvoke DispatchMessageW if hook is already disposed
This commit is contained in:
parent
ac7f3ea5d8
commit
e9cd7e0273
1 changed files with 1 additions and 1 deletions
|
|
@ -1070,7 +1070,7 @@ namespace Dalamud.Interface.Internal
|
|||
return res.Value;
|
||||
}
|
||||
|
||||
return this.dispatchMessageWHook.Original(ref msg);
|
||||
return this.dispatchMessageWHook.IsDisposed ? User32.DispatchMessage(ref msg) : this.dispatchMessageWHook.Original(ref msg);
|
||||
}
|
||||
|
||||
private IntPtr ResizeBuffersDetour(IntPtr swapChain, uint bufferCount, uint width, uint height, uint newFormat, uint swapChainFlags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue