backtrace: don't use assertions to test runtime failures
This commit is contained in:
parent
3adbfae057
commit
55c5bf96c5
@ -23,8 +23,8 @@ using debug::backtrace;
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
backtrace::backtrace ()
|
||||
{
|
||||
static auto ready = SymInitialize (GetCurrentProcess (), nullptr, TRUE);
|
||||
CHECK (ready);
|
||||
if (!SymInitialize (GetCurrentProcess (), nullptr, TRUE))
|
||||
cruft::win32::error::throw_code ();
|
||||
|
||||
CONTEXT ctx;
|
||||
memset (&ctx, 0, sizeof (ctx));
|
||||
|
Loading…
Reference in New Issue
Block a user