Skip to content

Commit ba9a450

Browse files
authored
Merge pull request #7763 from jasonmolenda/shut-down-exception-thread-when-clearing
[lldb] [debugserver] Shut down the exception thread when clearing (llvm#70979)
2 parents af370d0 + 4181b0b commit ba9a450

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/tools/debugserver/source/MacOSX/MachTask.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
//----------------------------------------------------------------------
146146
void MachTask::Clear() {
147147
// Do any cleanup needed for this task
148+
if (m_exception_thread)
149+
ShutDownExcecptionThread();
148150
m_task = TASK_NULL;
149151
m_exception_thread = 0;
150152
m_exception_port = MACH_PORT_NULL;

0 commit comments

Comments
 (0)