Skip to content

Commit feb8bff

Browse files
fixup! Also discard thread plans
1 parent 5d54938 commit feb8bff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/source/Target/Process.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,10 @@ void ProcessProperties::SetDisableLangRuntimeUnwindPlans(bool disable) {
286286
void ProcessProperties::DisableLanguageRuntimeUnwindPlansCallback() {
287287
if (!m_process)
288288
return;
289-
for (auto thread_sp : m_process->Threads())
289+
for (auto thread_sp : m_process->Threads()) {
290290
thread_sp->ClearStackFrames();
291+
thread_sp->DiscardThreadPlans(/*force*/ true);
292+
}
291293
}
292294

293295
bool ProcessProperties::GetDetachKeepsStopped() const {

0 commit comments

Comments
 (0)