mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix: Don't let a debugger crash Bink (#1892)
Resolves a problem where attaching a debugger can cause Bink to throw an exception, crashing the game.
This commit is contained in:
parent
336d85363e
commit
4a3e6df89e
2 changed files with 10 additions and 4 deletions
|
|
@ -249,6 +249,12 @@ LONG WINAPI vectored_exception_handler(EXCEPTION_POINTERS* ex)
|
|||
{
|
||||
// pass
|
||||
}
|
||||
else if (ex->ExceptionRecord->ExceptionCode == 0x406D1388)
|
||||
{
|
||||
// VS thread namer - just let these run; they aren't a problem.
|
||||
// https://learn.microsoft.com/en-us/visualstudio/debugger/tips-for-debugging-threads
|
||||
return EXCEPTION_CONTINUE_EXECUTION;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!is_whitelist_exception(ex->ExceptionRecord->ExceptionCode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue