Skip to content

Commit

Permalink
Abort the analysis on the live view before quiting or detaching the t…
Browse files Browse the repository at this point in the history
…arget
  • Loading branch information
xusheng6 committed Jan 11, 2023
1 parent 4d34334 commit e19b464
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/debuggercontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1681,9 +1681,11 @@ DebugStopReason DebuggerController::ExecuteAdapterAndWait(const DebugAdapterOper
operationRequested = m_adapter->BreakInto();
break;
case DebugAdapterQuit:
m_liveView->AbortAnalysis();
m_adapter->Quit();
break;
case DebugAdapterDetach:
m_liveView->AbortAnalysis();
m_adapter->Detach();
break;
default:
Expand Down

0 comments on commit e19b464

Please sign in to comment.