Solve APPCRASH issue

This commit is contained in:
Raymond 2021-10-17 20:03:06 -04:00
parent 505b32ebd2
commit 5261bb2777

View file

@ -166,7 +166,9 @@ namespace Dalamud.Hooking
if (this.isCoreHook)
{
this.Disable();
this.coreHookImpl.Dispose();
// Disposing CoreHook causes an APPCRASH on game exit.
// We already overwrite the original hook code, so there shouldn't be any real risk with not disposing here.
// this.coreHookImpl.Dispose();
}
else
{