deps: switch to goaaats.Reloaded.Hooks until concurrency fix is upstreamed

7d03dac73d
This commit is contained in:
goat 2022-07-18 18:55:56 +02:00
parent 3de56c992f
commit 2cfb9cc706
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
2 changed files with 2 additions and 1 deletions

View file

@ -74,7 +74,7 @@
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Reloaded.Hooks" Version="4.2.0" />
<PackageReference Include="goaaats.Reloaded.Hooks" Version="4.2.0-goat" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.333">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

View file

@ -30,6 +30,7 @@ namespace Dalamud.Hooking.Internal
this.hookImpl = ReloadedHooks.Instance.CreateHook<T>(detour, address.ToInt64());
this.hookImpl.Activate();
this.hookImpl.Disable();
HookManager.TrackedHooks.TryAdd(Guid.NewGuid(), new HookInfo(this, detour, callingAssembly));
}