Expressions now claim responsibility for all stops

that occur while they run.  This means that they
clean up after themselves even when they crash.

llvm-svn: 116870
This commit is contained in:
Sean Callanan 2010-10-19 22:24:06 +00:00
parent c8456f8c59
commit 3e6fedcaa1
1 changed files with 4 additions and 0 deletions

View File

@ -171,6 +171,10 @@ ThreadPlanCallFunction::ValidatePlan (Stream *error)
bool
ThreadPlanCallFunction::PlanExplainsStop ()
{
// If the subplan is running, any crashes are attributable to us.
return (m_subplan_sp.get() != NULL);
if (!m_subplan_sp)
return false;
else