[Lldb-commits] [lldb] r154366 - /lldb/trunk/source/Target/Thread.cpp
Jim Ingham
jingham at apple.com
Mon Apr 9 17:44:25 PDT 2012
Author: jingham
Date: Mon Apr 9 19:44:25 2012
New Revision: 154366
URL: http://llvm.org/viewvc/llvm-project?rev=154366&view=rev
Log:
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.
Modified:
lldb/trunk/source/Target/Thread.cpp
Modified: lldb/trunk/source/Target/Thread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Thread.cpp?rev=154366&r1=154365&r2=154366&view=diff
==============================================================================
--- lldb/trunk/source/Target/Thread.cpp (original)
+++ lldb/trunk/source/Target/Thread.cpp Mon Apr 9 19:44:25 2012
@@ -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;
}
More information about the lldb-commits
mailing list