diff options
author | Jim Ingham <jingham@apple.com> | 2012-04-10 00:44:25 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-04-10 00:44:25 +0000 |
commit | d8ba464b6af29f66a7b045be57e4b30e47e573d2 (patch) | |
tree | 3878b006703cbbce63046273cd39b36ef0ed6905 /lldb/source/Target/Thread.cpp | |
parent | 9fc13556b4c58c850fde19b306fd01c87c62f5fa (diff) | |
download | bcm5719-llvm-d8ba464b6af29f66a7b045be57e4b30e47e573d2.tar.gz bcm5719-llvm-d8ba464b6af29f66a7b045be57e4b30e47e573d2.zip |
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.
llvm-svn: 154366
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index fe5c4295443..fd06a2c4ee0 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -89,6 +89,7 @@ Thread::DestroyThread () m_plan_stack.clear(); m_discarded_plan_stack.clear(); m_completed_plan_stack.clear(); + m_actual_stop_info_sp.reset(); m_destroy_called = true; } |