Clear the "m_actual_stop_info_sp" in the thread during Destroy. It might be a StopInfoThreadPlan, and that would hold onto members that need to be destroyed while the Full thread is still around.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154366 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index fe5c429..fd06a2c 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -89,6 +89,7 @@
m_plan_stack.clear();
m_discarded_plan_stack.clear();
m_completed_plan_stack.clear();
+ m_actual_stop_info_sp.reset();
m_destroy_called = true;
}