flip priority of (handle, id) thread name events; prefer id if it is there, to correctly work with the set-suspended-thread-name-by-ID case

This commit is contained in:
Ryan Fleury
2025-05-03 16:17:10 -07:00
parent ad8ae313f4
commit 473f84cbda
3 changed files with 56 additions and 8 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ raddbg_encode_utf16(wchar_t *str, unsigned __int32 codepoint)
static inline int
raddbg_is_attached__impl(void)
{
return !!raddbg_is_attached_byte_marker;
return !!raddbg_is_attached_byte_marker[0];
}
static inline void