builtin: fix thread naming issue on Windows by ignoring RaiseException (0x406D1388) (#25270)

This commit is contained in:
xieke 2025-09-10 14:34:45 +08:00 committed by GitHub
parent 01f108e349
commit 015a85daf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,7 +125,7 @@ fn unhandled_exception_handler(e &ExceptionPointers) int {
match e.exception_record.code { match e.exception_record.code {
// These are 'used' by the backtrace printer // These are 'used' by the backtrace printer
// so we dont want to catch them... // so we dont want to catch them...
0x4001000A, 0x40010006, 0xE06D7363 { 0x4001000A, 0x40010006, 0x406D1388, 0xE06D7363 {
return 0 return 0
} }
else { else {