diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index ec48de6960d..2c2ab436838 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -2839,7 +2839,7 @@ public: if (use_global_module_list) { - locker.Reset (Module::GetAllocationModuleCollectionMutex()->GetMutex()); + locker.Lock (Module::GetAllocationModuleCollectionMutex()->GetMutex()); num_modules = Module::GetNumberAllocatedModules(); } else |