summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ModuleList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
-rw-r--r--lldb/source/Core/ModuleList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index 5e4f660dd28..e573555625e 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -118,7 +118,7 @@ ModuleList::RemoveOrphans (bool mandatory)
if (mandatory)
{
- locker.Reset (m_modules_mutex.GetMutex());
+ locker.Lock (m_modules_mutex.GetMutex());
}
else
{
OpenPOWER on IntegriCloud