diff options
author | Blaž Hrastnik | 2021-12-05 05:52:56 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-12-06 00:35:59 +0000 |
commit | dc8df7ba219d9a403ee77027dd5a698f08a1dcce (patch) | |
tree | 57802ebae4f4068fe5e3917542ec21f1e8f51d94 /helix-term/src/application.rs | |
parent | 2b4de41bf0e0fc7d276e99f6359c9062df65473d (diff) |
Make thread_picker non-blocking
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index c2daaa6b..55e4bb03 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -340,8 +340,8 @@ impl Application { let all_threads_stopped = all_threads_stopped.unwrap_or_default(); if all_threads_stopped { - if let Ok(threads) = debugger.threads().await { - for thread in threads { + if let Ok(response) = debugger.request::<dap::requests::Threads>(()).await { + for thread in response.threads { fetch_stack_trace(debugger, thread.id).await; } select_thread_id( |