Skip to content

Commit

Permalink
fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin authored Feb 23, 2024
1 parent 4632199 commit 3afae67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/stacktrace/detail/frame_msvc.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public:
~debugging_symbols() BOOST_NOEXCEPT
{
if (iclient_.is_inited()) {
iclient_->EndSession(DEBUG_END_PASSIVE);
iclient_->DetachProcesses();
}
}

Expand All @@ -163,9 +163,9 @@ public:
// [class.mfct]: A static local variable or local type in a member function always refers to the same entity, whether
// or not the member function is inline.
static thread_local com_holder< ::IDebugSymbols> idebug;
static thread_local com_holder< ::IDebugClient> iclient;

if (!idebug.is_inited()) {
com_holder< ::IDebugClient> iclient;
try_init_com(iclient, idebug);
}

Expand Down

0 comments on commit 3afae67

Please sign in to comment.