Change Dalamud.Boot abort behaviour on detach (#925)

This commit is contained in:
marzent 2022-07-23 15:26:46 +02:00 committed by GitHub
parent cebfe5443d
commit 78172f06d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,6 +172,9 @@ BOOL APIENTRY DllMain(const HMODULE hModule, const DWORD dwReason, LPVOID lpRese
break;
case DLL_PROCESS_DETACH:
// do not show debug message boxes on abort() here
_set_abort_behavior(0, _WRITE_ABORT_MSG);
// process is terminating; don't bother cleaning up
if (lpReserved)
return TRUE;