[lldb] Fix copy-paste error in SetPrivateRunLockToRunning (#189322)

SetPrivateRunLockToRunning incorrectly delegated to
SetPrivateRunLockToStopped instead of SetPrivateRunLockToRunning,
causing the private run lock to never transition to the running state on
process resume.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jim Lin 2026-03-31 08:15:24 +08:00 committed by GitHub
parent 96bd7b6e15
commit b255e78cb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3291,7 +3291,7 @@ protected:
bool SetPrivateRunLockToRunning() {
assert(m_current_private_state_thread_sp);
if (m_current_private_state_thread_sp)
return m_current_private_state_thread_sp->SetPrivateRunLockToStopped();
return m_current_private_state_thread_sp->SetPrivateRunLockToRunning();
return false;
}
bool SetPublicRunLockToStopped() {