chore: Move a bunch of foreground tasks into background (#35322)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-07-30 12:29:03 +02:00 committed by GitHub
parent 49b75e9e93
commit c22fa9adee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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());