diff options
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/source/Target/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index a46ca6b4f3e..98f9ea13129 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -1022,7 +1022,7 @@ Process::WaitForProcessToStop(const std::chrono::microseconds &timeout, EventSP while (state != eStateInvalid) { EventSP event_sp; - state = WaitForStateChangedEvents(std::chrono::milliseconds(0), event_sp, hijack_listener_sp); + state = WaitForStateChangedEvents(timeout, event_sp, hijack_listener_sp); if (event_sp_ptr && event_sp) *event_sp_ptr = event_sp; |