summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Target/ThreadList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadList.cpp b/lldb/source/Target/ThreadList.cpp
index f098a887d5c..10e764b8164 100644
--- a/lldb/source/Target/ThreadList.cpp
+++ b/lldb/source/Target/ThreadList.cpp
@@ -538,7 +538,7 @@ ThreadList::WillResume ()
for (pos = m_threads.begin(); pos != end; ++pos)
{
- if ((*pos)->GetResumeState() != eStateSuspended &&
+ if ((*pos)->GetResumeState() != eStateSuspended && (*pos)->GetCurrentPlan() &&
(*pos)->GetCurrentPlan()->StopOthers())
{
if ((*pos)->IsOperatingSystemPluginThread() && !(*pos)->GetBackingThread())
OpenPOWER on IntegriCloud