Skip to content

Commit 6173c2f

Browse files
committed
Crash handler: Minor improvements
1 parent a56dd30 commit 6173c2f

File tree

2 files changed

+115
-87
lines changed

2 files changed

+115
-87
lines changed

Client/core/CCrashDumpWriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ long WINAPI CCrashDumpWriter::HandleExceptionGlobal(_EXCEPTION_POINTERS* pExcept
912912
const DWORD exceptionCodeSafe = SafeReadExceptionCode(pException);
913913

914914
// Attempt minimal emergency dump for any reentrant crash
915-
bool expected = false;
915+
bool expected{false};
916916
if (!ms_bInCrashHandler.compare_exchange_strong(expected, true, std::memory_order_acquire, std::memory_order_relaxed))
917917
{
918918
SAFE_DEBUG_OUTPUT("CCrashDumpWriter: RECURSIVE CRASH - Already in crash handler\n");

0 commit comments

Comments
 (0)