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
This commit is contained in:
Jim Ingham 2012-04-10 00:44:25 +00:00
parent 9fc13556b4
commit d8ba464b6a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}