mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Add a log message for each leaked hook with its address. (#1543)
This commit is contained in:
parent
40e90a39c8
commit
a80ab30b4c
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ internal class GameInteropProviderPluginScoped : IGameInteropProvider, IServiceT
|
|||
|
||||
foreach (var hook in notDisposed)
|
||||
{
|
||||
Log.Warning("\t\t\tLeaked hook at +0x{Address:X}", hook.Address.ToInt64() - this.scanner.Module.BaseAddress.ToInt64());
|
||||
hook.Dispose();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue