chore: Move a bunch of foreground tasks into background (#35322)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
49b75e9e93
commit
c22fa9adee
3 changed files with 5 additions and 5 deletions
|
@ -424,7 +424,7 @@ impl LocalLspStore {
|
|||
if settings.as_ref().is_some_and(|b| b.path.is_some()) {
|
||||
let settings = settings.unwrap();
|
||||
|
||||
return cx.spawn(async move |_| {
|
||||
return cx.background_spawn(async move {
|
||||
let mut env = delegate.shell_env().await;
|
||||
env.extend(settings.env.unwrap_or_default());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue